As far as I am aware this is a racist/xenophobic narrative with little to no evidence. Automatisation is responsible for job losses, not immigration. If you have studies/evidence saying otherwise please share.
I agree that too many people have shrugged at the human impact of "innovation" destroying communities as long as it didn't impact them. I believe the immigration/foreigners narrative is the successful attempt by capital owners who benefit from the real root causes.
Trade barriers are a different thing than immigration though. I believe there is much more evidence that trade displaced traditional jobs than that immigration led to an oversupply of labour.
I agree that too many people have shrugged at the human impact of "innovation" destroying communities as long as it didn't impact them. I believe the immigration/foreigners narrative is the successful attempt by capital owners who benefit from the real root causes.