You know how FAANG are the only companies actually doing really well on the stock market these days? It’s because some of the most talented people in the world work for them. Not just the best Americans. The best people in the world.
We (as in non Americans) chose to move here. We didn’t get “taken”. We know what’s best for ourselves as individuals. There is no way that I could have any effect on the way my home country is run by writing software for some company and getting paid shit.
America’s roots is in immigration. That’s part of what makes it so powerful.
EDIT:
From what I understand H1B workers have to be paid at least equal to what a non visa employee gets. So it’s not cheap labor by any measure.