Self-employed knowledge workers generally work both 'remotely' and 'at the office' everywhere, all of the time. Salaried people don't have this kind of attachment to their work so they need to be compelled to. Being present at the office is a good behavioral tool for that, forcefully isolating them from other concerns and temptations. There are many ways to replicate that in a remote working situation, but they mostly require pervasive monitoring of the employee.
As the world is coming out of the trough of disillusionement from WFH, it seems that the trend will be towards new monitoring tools or other ways of proof of work. This is the compromise workers will have to make, because working remotely is a too damn good thing to miss.
Edit: the other option is for everyone to become contractors and charge for results