Automation, including use of artificial intelligence and machine learning, might boost productivity, but also cause job loss, in developing as well as developed countries. That is not a new problem.
The advent of the industrial revolution caused similar stresses two hundred years ago. But as a growing number of us might say, high productivity gains that lead to job stresses have to be coupled with high efforts to ameliorate those stresses.
An increase in inequality seems to be a byproduct of technology revolution, and therefore creates a challenging new problem to solve.