IIUC that was for illegally downloading ebooks and other media -- it had nothing to do with training per se. Scraping publicly accessible data is generally legal, although Microsoft/LinkedIn clearly think they have enough of a leg to stand on to at least litigate this.