No, it was asked to pay book authors because it pirated copies of books and stored them on their hard drives. The ruling had nothing to do with training.
If training wasn't considered outside the law, this goes on to make the point about double standards for US vs Chinese model training methods.
I think the Aaron Schwartz case is incredibly vexing because he was obviously acting out of a sense of altruism without personal self-interest. I don't think he deserved the book getting thrown at him like that. But the whole copyright system, which people seem to think is simultaneously good and bad, kinda rests on not allowing those kinds of violations