If you look at layouts of buildings for organisations lauded for unusually high output - I'm thinking Bell Labs, Xerox, MIT Media Lab, and others - historically there has been mixed mode: the ability to do focus work, and also the ability to step away from focus and bump into people on the way to get a coffee or lunch.
Today's working environment is 40+ hours in open plan offices with too few social spaces or meeting rooms for meaningful collaboration, so both focus work and casual collaboration have to be fought for.
Regardless, what's interesting to me at least is that even while we can see productivity rose for many decades even as people moved to the 5 day, 8-hour week (which must was counter-intuitive - there was an expectation of a drop in outputs), we're seeing potentially more gains from moving to a 4 day week.
RTO - for my type of work, and most work that needs "flow" for 2-3 hours a day, minimum - doesn't work for most people in 2025. Leaders are holding onto it in an irrational way, and that is leading to growing resentment. That, coupled with trying to pay people who have to show up (service workers, gig economy workers), with ever fewer working rights and poorer conditions, means something's going to give at some point.
If all the menial work was done by robots, and we were all going to Bell Labs-style environments for 3-4 days a week, I think we'd all prefer that and actually, society might be a lot more productive as a result. But it's never going to happen. Not in our lifetimes, any way.