If the rich can hire a handful of the middle class to build and maintain their robots, then they can just cut the poor and working poor out of the economy entirely, and they will be willing to accept any conditions for food and shelter.
We can arrange the economy anyway we choose. Taking all of the decision making for themselves is part of the plan.
They won't need maintenance if they're a general purpose intelligence. A technology that has the possibility to free all of humanity from scarcity, has the possibility to finally collapse dominance of aristocracy for good. Sure, they'll try and put themselves on top somehow. But once the knowledge exists, anyone can create a version for the greater good.