The program was bought and paid for by US corporations for their direct benefit.
Why would Apple, with all their money, need to hire H-1B generalist Software Engineers and Project Managers when they can out-compete literally any other company on earth? https://h1bgrader.com/h1b-sponsors/apple-inc-6g06vq412q/lca/...
The cover story these tech executives and investors use is that they like the H-1B out of a pure love for immigrants and the melting pot it creates. The reality is that they love the competitive advantage it gives them in hiring. They don't sincerely care if it's in America's best interest or in the interest of the countries being brain-drained. Some of them will admit this in private.
(Disclaimer: I have nothing but respect, understanding, and zero judgement for employees working in the US on H-1B visas. I have a dozen good friends on H-1Bs. They're in no way to blame for these abuses. They're just doing what's in the best interest of themselves and their families.)