This is one of the biggest questions as the singularity compresses the deployment of capital and material resource allocation: if the majority of people aren't competitive with machines, who provides for them and how is that structured?
History provides the same answer every time this question arises
You mean that after some popular discontent arises, the top authorities will simply be overthrown by a competing faction within the ruling class, but that competing faction will fool the masses into thinking that “people power” won out and things are any better?
That is, after all, how most “successful” revolutions have played out. Other revolutions that end with the ruling class being completely overthrown often cause the country to collapse into instability that is terrible for quality of life, until a strongman manages to cement his authority.