Amazon controls so much of the internet that it's increasingly hard for anyone to avoid them. The deal they struck is far more involved than your typical company using AWS, but I wouldn't look to Amazon's customers to make any assumptions about Amazon's motivations beyond their lust for more money.
The reality is that this book doesn't pose any meaningful threat to the US government's mass surveillance programs and having impotent critiques of the US Government openly available as opposed to outright banned gives us a false sense of security in our freedoms.
See: https://www.theatlantic.com/technology/archive/2014/07/the-d...