Obviously, as labor costs have been increasing in China, factories in China need to make some changes, or those factories will all move to other countries (much like how American manufacturing moved overseas when our own labor costs increased). The choice was always between these Chinese workers having low wage jobs, and having no jobs, not between low wage jobs and high wage jobs.
This was inevitable. Robots will take over all low-skill jobs in every industry, eventually. The factories will no longer be in places with the cheapest labor, they'll be in places with the cheapest energy costs to run those robots, and where the base materials used to build these devices can be shipped to the cheapest.