I think your assessment is correct on certain level. But the problem is, American companies, especially, IT companies, are making money, big money across the GLOBE. They are literally monopolies in many European countries and contribute neither local employment and tax. Make no mistake, they are THE biggest beneficiaries of globalism. Their product, internet service, is dumping to the whole world, probably except China, without any check and balance. It should not happen, let alone last to date.
In that way, if globalism is to be fixed, internet companies need to be both held accountable in and outside of US. If they pay fair share to hire local people and pay taxes in the country they operate, I believe US won't have this ridiculously high salary for tech workers. In short, tech salary being so abnormally high and jobs concentrated in US is the symptom of globalism. Once fixed, the tech workers salary will be more evenly distributed across the countries, immigration problem will be fixed as a result of that.
As internet industry is plateauing, the technology is becoming ever more commoditized everyday, and the policy makers are finally doing the job to act on it, I am staying optimistic that the redistribution of tech workforce from US to the world will finally happen.
The internet has no boundary, that is just a globalist fantasy. It definitely should have boundary, as the tax and economic activities created alike. GDPR is a very welcome move, and it is taking effects, I would expect more systematic approach coming after it.