(Note, this is not actually a jab at Amazon in particular.)
I'm all for open borders and immigration. The H1B problem right now is the worst of both worlds though. You have selectively restrictive immigration which means that if you're lucky enough to get an H1B you'll go through a lot to stay. More open borders would help the situation as people would have more labor mobility. Cracking down on H1B abuse would also help the situation and the only entity that can crack down is the Government because it's a tragedy-of-the-commons problem.