It should be noted that Foxconn is a Taiwanese company. Its chairman has been claiming that total automation, robotic manufacturing, etc, is the future, for a very long time. Thats best understood as labor arbitrage- behavior intended to, by fear, lower wages.
Also, they are milking other potential manufacturing locations for tax breaks.
All around the world, companies are shopping around for huge tax breaks, and binding instruments that deregulate laws of all kinds, and sometimes getting them.
But the deals rarely seem to work out well. In fact I have never heard of one of these tax break deals that worked out well, has anybody here?
Here in the US, 20 years ago it was stadiums. Lots of cities ended up building stadiums to allegedly create jobs, employ the chronically unemployed, attract business to economically distressed areas. Many of them turned out to be financial disasters. Stadiums sit, occupying space that previously supported vibrant, if poor communities, in the middle of huge parking lots that rarely get filled. That money would have been better spent on education.
Foxconn chairman Young Liu, according to Bloomberg,... boldly proclaimed that while China will continue to be a key location for Foxconn's factories, the country's "days as the world's factory are done."
https://www.macrumors.com/2020/08/12/foxconn-says-chinas-days-as-worlds-factory-done/
It just means Apple's money will go to Vietnam, Africa or whichever other emerging economy is cheap enough to keep them in profit they've become accustomed to, it would be more worrying if the manufacturing 'came home' because that means either they've been bribed with your taxes or they think your standard of living is falling (or can be forced) below the level of the workers in the country they're leaving.
China will continue on and maybe it'll move a little upmarket, maybe it won't.
Macrumours and Bloomberg aren't always right (same as many other news outlets) and often regurgitate press or politically motivated 'news' releases that turn out to be quite far from reality
Africa is what they are excited about now, because wages in some parts of Africa are literally the lowest in the entire world.
Many parts of China are in every way parts of the developed nations, with costs of living to match. Taken as a whole, its becoming a middle income nation.
For what its worth, businesses in China a few years ago were engaged in an incredible search for talented employees, and their websites were filled with information about the awards they had been given as great places to work, and how much they supported their employees' professional development, and *gasp* the raises they had given them. I don't know if this trend is continuing now, but I hope it is.
Last I investigated this Chinese citizens were speaking up about the environment!
Last year in Wuhan, the city erupted in demonstrations about government plans to build a huge incinerator to burn garbage.
Quite in contrast to Modi's India, the self described "Back Office of the World" which is struggling with the demands of a ruling class that seems quite unwilling to share the gains with their workforce. many of whom still live under quite spartan conditions.
China has a growing middle class, while economists lament about India's missing middle class.
India is unlikely to become more than a limited market for many Western goods, in the near future, as they cant afford them.
Were it not for the WTO and its "rules based" system, countries could take factors like human rights, labor, and environmental issues into account when deciding what other countries to trade with. Under the new global economic governance regime most things like that are basically forbidden.