If they're using pirated books, haven't they already committed copyright infringement by keeping these copies? The model itself might be transformative, but I think that is a separate issue.
If the companies had bought all of the ebooks, then they might be in the clear.