Also don't forget tolls / tariffs. Building products that relies on parts from different countries (at least from/to USA) reduces the margins compared to a unified Chinese market.
Visas are a political human construct subject to change, not a immovable force of nature. The same visa keeping workers out, can always be removed or changed over night if desired to achieve the opposite effect: move masses of skilled people in. See operation paperclip.