As an aside, I think there's another equally important issue that should also be raised along with employment. A large number of our graduate+ degrees in STEM go to foreign nationals. The issue is not providing education to foreign nationals in and of itself, but that many of these degrees (public schools) are funded by tax payers, and we are depriving our country of an educated population while educating citizens in other countries who compete with our country globally. Private schools can and should do whatever is in their mission, but public schools should have some accountability to our citizens and tax payers. We all have a right to get value for the money that we put into things like our public university system, which is supposed to be training future leaders of our country.
Of course with that longwinded answer I have to say... Tech is like the weather, just wait for a minute its all going to change anyway, so don't stress all of this.
Foreign students are not stealing “slots” from Americans. If anything, their tuition dollars make more slots available.
It's probably true but not really meaningful in the broader context.
With the current easy money federally backed loans US university funding model the foreign students are just easy money on top of an already screaming money printer more than a noteworthy subsidy of their operations.