Meta allegedly used pirated books from Library Genesis to train its AI models, as revealed in documents unsealed by a judge.