Legally obtaining a book for reading it yourself is different from legally obtaining a book for copying and republishing/reselling. If I buy a book for $5 at a sale I can read it myself or even sell it for $10 on craigslist, but I can't scan it and make a million copies and sell each of those.
They aren't republishing or reselling. In fact, they buy huge amounts of books and then destroy them, which is better for the rights holders than to resell them.
If we assume on average $20 per legally obtained book, 1.5 billion dollars are enough for 75 million books. That's approximately every non-fiction book in existence.