It was a criminal offencefor Aaron Swartz to download books.

But when Zuckerberg did it at an industrial scale, he was just "training his AI model", which made it just fine.

Same thing here.