And China has an abundance of skilled labor unseen elsewhere, says Cook:
"The products we do require really advanced tooling, and the precision that you have to have, the tooling and working with the materials that we do are state of the art. And the tooling skill is very deep here. 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." "
https://www.inc.com/glenn-leibowitz/apple-ceo-tim-cook-this-...
Trivially asserts that it will be done immediately/soon, which will never happen.
Translation: Apple invested massively in China-based manufacturing, and he doesn't want to have to repeat that investment elsewhere.
http://www.iphonehacks.com/2016/10/next-iphone-probably-wont...
Koenig writes. “Apple is such a huge buyer of a particular kind of mill (BT30 spindle drill-tap centers) that Fanuc, Brother and DMG Mori each have factories dedicated to building machines exclusively for Apple.”
Here is a list of countries that provide the parts.
https://www.quora.com/Where-is-the-iPhone-originally-made
As you can see it would be fairly easy to for Apple/Foxconn to source these parts and build their products in the USA. I think the big motivator for them is they would rather outsource manufacturing to Foxconn and wash their hands of having to deal with it.
I don't see iPhones being made in the US anytime soon, there are many places in Asia other than China that would be higher up the list than the states.
That said the main point is Foxconn could move production to other manufacturing centers, if need be, though it would need some transition period to avoid disruption.