I don't think that Amazon is losing the tax battle, and I'm not sure where the writer gets this idea. Amazon operates three distribution centers in my area, and has just announced a fourth. Amazon, the governor, and various community officials in the counties with distribution centers have not been shy in pointing out that it is our "tax friendly" policies that encouraged Amazon to build distribution centers here, nor in noting that these facilities employ a couple of thousand people with entry level salaries of between $12-20/hr, with full medical.
In any event, Amazon is not losing the battle here.
Oceania: We Have Always Required Books From the Eurasian E-Bookstore to Be Sold Through Our In-App Purchasing System - John Gruber