If there is AGI and it doesn’t turn hostile towards humans, hopefully there could be universal basic income?
But more likely, the rich and powerful have better access to advanced AI, and the poor get into even more difficult situations. It will probably be gradual like how machines replaced most factory workers.