Because they used a pirating website to get the material and stored them on their servers for personal use.

The AI training part of the court case was deemed fair use.