I thought another reason H1Bs are preferred by tech companies is because it limits the opportunities that your high skilled employee have access to, as far as I'm aware it's harder and riskier to switch jobs without getting deported if you're on a H1B visa which means the employees will put up with worse treatment and worse wages compared to native colleagues, though I'm fuzzy on the specifics