Earlier quoted context omitted.
> In both cases, money is transferred from taxpayers to high income colocated workers who will presumably spend it in the economy. Also, you're ignoring the national security implications of the thing. We cannot afford to be dependent on a foreign country for high tech skills. That's one reason why protectionism makes sense. As a country, we're willing to pay extra for certain basic manufacturing/services to stay in…
That's both literally and figuratively backwards. You're describing a scenario where the relationship between the countries becomes so hostile that we have to worry about what happens if one of us cuts off the flow of talent. But what we should really care about is making the flow of talent so voluminous and indispensable to both nations that relations cannot deteriorate to that point. That's real national security.
That has not happened in the history of mankind. Talent moving around is rather high on Maslov's hierarchy of needs. If your country is out of arable farmland, clean water, or minerals, you will start looking around for places to get those materials.
If they will not trade for them, generally you invade.