The biggest ongoing cost for WeWork is leasing the office space. This cost doesn't go down just because WeWork has some brand recognition. Even worse, there's nothing stopping a property owner from operating their property as a co-working space themselves, cutting WeWork out of the equation.
It's not that WeWork couldn't be profitable. But it was never going to pull in the profits of a successful tech company.