What I saw at Mozilla with a remote-heavy workforce is that declining office attendance is a vicious cycle. The fewer people there are in the office on any given day, the less incentive there is for those people to keep showing up.
You can mitigate that to some extent by requiring people to be in the office on a few specific days (as many "hybrid work" programs are trying to do). The problem then is the company has a lot of expensive real estate that's only being used 3 days a week. That seems wasteful. I predict that as leases come up for renewal, and as they get more used to remote work, a lot of companies are going to look at their office investments and downsize or eliminate them. The super-rich Big Tech companies and the like will continue to spend eye-watering amounts of money on lightly used office space and services, because they can, but I don't see how that's going to work for normal companies.