University is not 'tranining'.
A STEM degree doesn't really prepare you for much.
At a startup, you have developers, product, product marketing, marketing, finance, ops, HR.
Most devs are needed for their practical skills: experience in programming, getting through nightmare builds, tons of APS, grasp of server technologies etc. etc..
Most devs are not dealing with highly scientific or 'researchy' things.
I think STEM grads are often much, much better placed to do Dev, and if they take the time to learn the skills, I'll take an Eng/Science grad usually over others because there are a bunch of other intangible benefits, but smarty pants arts major could easily do the work if they were motivated, and sometimes that has advantage today given focus on user experience which is sometimes a little too intangible for some to grasp well.
The school I went to had a decent sized group of students from China, and all but one of them is back there, despite wanting a job in the US.
To be consistent then if we are nationalistic, we should either strive to keep the graduates here, or not allow them in our universities at all. Conversely if we are globalistic, then we should be fine with immigrants working here.