On the other hand, my current employer has a large number of H1Bs and junior OPT recipients. These guys are happy enough to be in the country and are honestly hired in the name of hiring the best and brightest to keep wages low and keep an environment where people don't speak up.
These guys would rather live in the US than go back to India. They'll put up with a ton of shit that a person born in America wouldn't want to deal with.
I've only worked at a few companies in my career in both tech and non tech companies. It was the same everywhere.
Tech companies with shitty conditions for devs use this to pay less than the industry and keep these guys on call 24/7.
Non tech companies hire them through third party contracting companies who basically eat the majority of their hourly rate.
It's a messed up situation IMO.