Amazon pays sales taxes, which makes up a big chunk of the local business' tax burden anyways. Moreover, the retail division Amazon barely makes any money, so any taxes on profit going to delaware or whatever is probably minimal (as % of your spend).
If the retail division of Amazon barely makes any money, why hasn't it been cut or spun off so that the company can concentrate on the things that it is really good at and are more profitable?