It's a lot cheaper than hiring someone here. Instead of google(biggest H1B visa abuser I'm aware of) shelling out a standard starting salary of $150k for a US work, they can start someone out at 80k from India or Europe excluding Germany.