It doesn't sound like everyone loses if the companies get cheaper labor, the workers get a chance to work even if for less than they would if they were US citizens, and the more routine tech jobs get filled which probably creates more interesting jobs for those who are actually passionate about their field.
I'm not familar with any information about US companies charging massive fees to the workers. Is there a source for that part of your comment?