I'm sure their agreement had more than one clause. It could very well contain a set of clauses that limits amazon's liability to whatever it collects from customers (in this case, $0).
Not to mention that he may have a case for piracy for commercial gain, in which case Amazon is liable for $300000 a copy (which, at 6000, is more money than most authors will ever see).