I'm sorry I've heard these claims but I'm strongly sceptical. WeWork source their office space on long term contracts and lease them on short term contracts. So in order for them to make more money during a recession there needs to be an increase in demand for office rental space during a recession. Even if that does occur, a competitor could come in and rent some of the office space freed up by the recession and out-compete wework by having lower costs. That's best case. In reality, in a recession companies look to lower their cost - the first people they'll get rid of is the high cost wework spaces, consolidating employees into larger regional offices (which traditionally has the side benefit of lowering headcount). No one is increasing their high cost offices during a recession.
In a bull period, you're right, CFOs will be willing to spend a little more on high risk projects to allow them to mitigate the risks of long term contracts, but that's not what happens during a recession. During a recession they're overwhelmingly looking to demonstrate a lean, low cost company to shareholders.
Like many of the wework stories, it'd be nice if it were true, but it's just simply not very likely.