I do not think anyone is making that point. Clearly a gated and scarce employee pool is always in the advantage of the employee.
You can agree or not, but the point is expanded availability of highly skilled labor from CS Graduates benefits the US companies hiring them, not just by removing some scarcity in the supply, but also having an expanded talent pool increases quality available.
From a geo political perspective, would you rather have these people working to build up US industry, or have them starting and staffing competition in their home countries? "Brain drain" fueled by unlimited reserve currency dollars is very real.
Lastly, those non-US graduates pay a very hefty sum for the 'privilege' of attending school in the US. Having worked with academics from around the globe, including US, I can state with some certainty the US degree courses are not qualitatively very different from what is available elsewhere at a fraction of the cost (US education costs are insane!). But they do carry the implicit promise of an easyer way to higher paying US jobs.
So all in all, everyone in the US benefits from the system, except the lower 66th percentile of native US CS graduates.
> From a geo political perspective, would you rather have these people working to build up US industry, or have them starting and staffing competition in their home countries?
This doesn't happen nearly as often as you probably think. Starting a company in many countries (including my birth country in Latin America) is very difficult. Not only there is no financing, but the justice system is also slow to resolve inevitable contract disputes. Additionally, government regulations crush advanced businesses to the point where it's really difficult for companies to compete internationally. The US remains one of the best places to start a tech company.
Given this, many smart people in my home country decide to work for the government in highly-paid paper-pushing roles, throwing away years of study and computer expertise.