Anthropic didn't lose because they scraped (read) copyrighted works. They lost because they distributed copyrighted works directly via torrents. Those aren't the same.
That was Meta. The judge ruled in the Anthropic case that they infringed because they downloaded pirated copies of books that they could have otherwise purchased legally, and for retaining copies of those books as a central library.