WeWork’s Losses Swell to Nearly $2 Billion as It Seeks Global Expansion