IIRC Amazon has a pretty complicated legal structure where each of those companies - IMDB, A9, etc - are wholly owned subsidiaries of Amazon (or some other legal entity) and not considered the same entity as Amazon.com.
If they're separate legal entities, they are responsible for collecting their own sales tax on what they sell in California.
Because those offices aren't involved in direct sales of products from amazon.com.
And A2Z, Zappos, the Kindle group. Search the job board and you will find those Amazon subsidiary job come up often. The are enjoying huge tax advantage over other retailers. You can be sure they will make every legal maneuver to work around this.