WeWork’s growth is accelerating as the office-rental firm adds more locations and tenants. But the company is still spending a lot to achieve that growth.