Better education and improved opportunity will be essential to end the cycle of exploiting workers.
As to AI replacing humans... that ship sailed.
Life 3.0: Being Human in the Age of Artificial Intelligence by Max Tegmark
Our Final Invention: Artificial Intelligence and the End of the Human Era by James Barrat
Superintelligence: Paths, Dangers, Strategies by Nick Bostrom
Pure speculation: it's very likely the device you are casually using for data entry can already perform any mathematical function faster than a human.
I am not nostalgic for the age of telephone operators or typing pools. The wealth of female CEOs today confirms part of what was required was the realization previous misconceptions of employment were part of the problem