You're believing and repeating the propaganda. The H1B was sold to Americans as for this purpose and then very deliberately turned into a loophole for importing massive amounts of foreign labor.
How silly is it to accept the idea that Big Tech companies like Google, Microsoft, and Tesla are not be able to hire Americans for any role they want. They're the richest companies on the planet!
These companies use the H1B to increase their labor supply, suppress wages, and gain indentured workers.
If they couldn't cheat by importing cheaper foreign labor they would have to compete against each other much more than they do for American workers.
This is all about big companies rigging the system. They do not care if it's good or bad for America, the foreign workers, or anyone else. It's simple greed.