There are plenty of counter examples to this. Boeing has suppliers for key components for its airplanes as far away as Italy and Japan.
Toyota and BMW assemble vehicles in the US from imported parts.
A CPU from intel is often fabricated in a US based factory, tested in Costa Rica, and packaged in Asia.
The issue has too many variables related to margins, tax breaks for factories, and import tariffs; to say the whole electronics supply chain is moving one direction.
As wages and living standards rise in China it is likely that some production will move to other countries and regions, which in the longterm is a good thing because it spreads the wealth.