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.
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-...