Yup. My wife worked in commercial real estate (contracts and billing, before the crash in that biz) and she surmised exactly the same thing.
I think most real estate folks learned their lessons in the dot-com bust. Lot's of folks were making stupid office space deals with tech companies in return for warrants, etc., which ended up being worth less than nothing.
If WeWork walks away, they leave behind nice offices that the landlord can rent out to another tenant with minimal investment beyond a few months lost rent (that could theoretically be recouped from WeWork).