The office existed before those.
The point is that work from home doesn’t ruin some real estate investment scheme. It reduces their expenditures, in the same way that they don’t have to buy cubicles.
But that cost is miniscule, they would prefer to pay it to get the (perceived) productivity and monitoring benefits.