I think you're mixing up a couple of issues.
If a recession hits, or even if there's just a glut of rental office space because other players overinvest, then WeWork may not be able to fill their spaces, which they've mostly committed to on long-term leases. Their costs are fixed in the short term, but their revenue could be highly variable.
It's true that in the longer term the market for large blocks of space follows economic cycles, so if they are looking to expand during a recession, they can get a good price. But why would they do that? Since their business model is all about flexibility, they will be harder hit by recessions than both property owners and other people who need large blocks of space.