People need to stop with this whole "only commercial real estate supports working from the office" nonsense. Some of us simply want our job to provide us with a space where we can work that isn't 10 feet away from where we spend the rest of our day, the same way that our job provides us with other tools we need. Not that I'm necessarily defending forced RTO but I hate this framing of the issues.
Also if your vision of WFH is that everyone sprawls out then it doesn't solve some of your other issues: people will still need to use their vehicles to get places (because unless we solve the root issue of 'too few homes' then those people will be spread out from each other or services to not create more cities with too few homes) and their sprawled out suburban communities will not suddenly become more walkable. They'll just drive everywhere.