China hasn't been cheap for ages. Mexican labor is way cheaper both in manufacturing (20% less) and engineering (40 % less).
I'll quote you the CEO of Apple, Tim Cook himself on that topic:
The number one reason why we like to be in China is the people. China has moved into very advanced manufacturing, so you find in China the intersection of craftsman kind of skill, and sophisticated robotics and the computer science world. That intersection, which is very rare to find anywhere, that kind of skill, is very important to our business because of the precision and quality level that we like. China has extraordinary skills. In the US, you could have a meeting of tooling engineers, and I'm not sure we could fill the room. In China, you could fill multiple football fields. Hence, the vocational expertise in China is very deep.
FWIW a cousin of mine, Italian, founded a 3D printers startup a decade ago and according to him there was no place in the world with the level of expertise and skills to create a complex machine manufacturing startup like Guanzhou or Shenzen. It's not just the skills they have when it comes to manufacturing, it's the entire ecosystem: logistics, bureaucracy, suppliers, energy, materials, engineering. China has all of those.
He was even featured on the first Italian national channel:
https://www.youtube.com/watch?v=q7j5WOsadkI
I can guarantee you that cheap labor was really a non-factor in such a choice, because there was no cheap labor in the first place.
I recall Tim Cook's quote and it has merit.
But the ecosystem (like all ecosystems) evolves as all the entities within it evolve. Originally it was cheap labor. I think the key difference is that each entity in the US is independent and self-focused on quarterly earnings (as the C-Suite is rewarded by that and they call the shots), whereas China thinks holistically as far as how the nation moves ahead as a whole.
tl;dr our priorities have been reversed -- profit vs people vs vice versa.
https://itimanufacturing.com/manufacturing-move-china/