Should they be responsible for this indirect effect? Well, that's the issue at root of a lot of externalities companies produce, like environmental pollution.
I'm certainly sympathetic to the idea that the government should step in and support the homeless, in return for Amazon's tax dollars. But that requires reserving a lot of new housing development for low-income renters, which makes housing more expensive for Amazon's employees, so they have an incentive to discourage doing anything about the homeless.
It's a great example of how market forces can fail a community, actually.
A cynic could argue that the market is operating well in this case because the homeless don't contribute much economically — but I try not to go to the same bars as those people.