IANAL, but the parent comment quotes "any profits of the infringer that are attributable to the infringement", which I take to mean it's the profit Anthropic stands to make based on its use of the pirated content that's recoverable.
Given the entire global economy is currently bullish on the potential profitability of AI, I dare say they got off incredibly lightly settling for just $3k per book.