The "local know-how" is a minor consideration. Political/economical stability, war/conflicts prospects and geo-position are the most important ones they consider. Even more so than price. Moving people around the globe now is way easier than it was 40 years ago and, given the running cost of such factories, it's really a non-starter to even consider that. Knowledge, and to a bigger degree, "smart people", you can find anywhere these days. I say that as someone that has moved around the globe because of those reasons.
That being said, shareholders and influential people at the higher end of corps are still humans and humans are weird creatures 😛
Regards.