But that's a consequence of the global market, not because of immigration. Your wage is competing with the rest of the world.
And if there's a country capable of the same productivity with cheaper salaries, then it's expected for the company to expand overseas.