RTO mandates are primarily pushed by the managerial class, not the capitalist class. Both want to blame AI so its not clear they want to avoid doing so.
Managers, like police and prosecutors, are enforcers for the capitalist class. This is why they are not part of the working class. Managers do the job of squeezing surplus value from workers, rather than producing real Value themselves.
Relationship to capital determines class.
That argument only holds if you think RTO increases output. Infact it has to create more value than the costs t imposes otherwise it reduces profits. I am not convinced this is true.
I think your overall picture is simplistic too. Many managers (and police, and prosecutors) act contrary to the interests and wants of the capitalist class. Managers have their own interests which are frequently at odds with those of their employer. https://www.sciencedirect.com/topics/social-sciences/agency-...
RTO is primarily pushed by the capitalist class, and managers are just stuck in the middle. No good manager wants pissed off employees, but managers who push back on the capitalist class do not stay managers long.