Amazon has to lower tax bills wherever possible - it's their fiduciary duty. Nonetheless, the governments can and should be far more aggressive about this. And Seattle, Oregon, and the US at large should be doing this work for homeless families ... not Amazon.
Nonetheless, Amazon lives in the world as it is and it's doing what it can do. The space is an unalloyed good for those people and Amazon deserves a ton of credit.