They could be alienating vastly more people than that. However, they only need to higher a tiny fraction of the US workforce each year. So, it’s still not a significant issue.
Their pool is not the entire US workforce, it's a relatively small group of highly skilled workers in a market where those workers can make tons of money at many different companies.
Alienating a fraction of that workforce will impact them, I think.
I am referring to programmers, and specifically a subset of programmers that can pass a difficult interview - most developers are absolutely terrible, probably > 50%, so cut that number in half at least. It's a relatively small number.
You can cut 90% of programmers that would not pass an interview for whatever reason and there are still easily 10 times more people that qualify than work for Amazon. More so if you consider whatever fraction they need to onboard each year. Absolutely worst case is just slightly increase pay or open a few more offices across the US.