If American companies earn money from the rest of the world, is it really that unfair that they hire a small percent of international people to work at their company?
1) https://www.immihelp.com/employer/APPLE+INC/205136/applicati...
2) https://www.apple.com/newsroom/2018/02/apple-reports-first-q...
Apple also has hundreds of contractors employed by Tata, Infosys etc on H-1B's, in Apple's internal IT department ("IS&T"). These people are paid less than the 9% of people above, and would not count towards Apple's own H-1B numbers.
H1-B (and immigration in general) is not only a fairly hot political topic, but also one where there an immense number of massive corporations that benefit substantially from the system. There have been an large number of reports, including government reports during the former administration, indicating a substantial depression of wages due to H1-B visas. [2] I hate to cite Wiki, but really - there are a ton of reports there and me giving dozens of links in this post is less reasonable than just linking Wiki there.
So on this issue, your phrasing is already hinting at some angling and I'm not sure you even realize it! In the US there are a huge number of STEM educated individuals who are not working in STEM. Certainly many of them are doing so voluntarily, but it's equally certain many of them are doing so involuntary. Filling these jobs domestically would of course create at least as many jobs, but on top of those created jobs it would also allow citizens to also occupy the 'creating' jobs, all without the wage depression of H1-Bs.
[1] - https://www.washingtonpost.com/news/wonk/wp/2017/06/26/new-s...
[2] - https://en.wikipedia.org/wiki/H-1B_visa#Wage_depression
Yes, there are companies that abuse visas and pay low wages etc. Why not focus on improving enforcement rather than rant about immigrants?