Anthropic has also used pirated books, as has Meta, according to claims in court.