I just don't see it. Maybe it depends what you call a "middle class" job.
Assuming it isn't what English DH calls middle class: folk with PhDs, qualified teachers, doctors, lawyers, community leaders. I need specific examples.
Assume middle class is like my 2 workmates: PA/Admin & project manager.
My colleagues don't make automated decisions about data and logistics. They make decisions about what will work according to budgets, people's preferences and egos, instructions from the bosses & required deliverables. They chase up whether the milk order arrived, coordinated the office move, review the accounts to try to decide if there really has been an underspend (as someone else alleged). If there is a backup for the powerpoint presentation, how to keep their boss awake after a heavy lunch. If the boss's diary is double booked, they find ways to solve the overbooking.
I do not see robots doing those jobs. Robots don't have the people skills.
Is middle class the guy who laid my carpets & kitchen floor, checked our boiler wiring, climbed up the ladder to paint our fascia boards for a bargain price, loaded up & drove the lorry to deliver & unload everything at supermarket? I don't see a robot doing those.
The customer service agent who dealt with supermarket not accepting a return (against company guidance, and told us what to say next time)? The cold-caller trying to sell me new windows, the school careers guidance counsellor, the legal experts at the district council who review employment laws routinely to make sure their practices are all compliant?
Also, I suspect a manufacturing manager in Vietnam has long done the job much cheaper than a manuf. level manager in USA - or a robot could do it. That boat long ago sailed.