Another difference is that Swartz didn't intend to generate revenue from the works whose license and copyright he violated.
While another difference is that AI companies violate copyright in a less obvious way, it's different for them, they do want to make money from the copyrighted works they train on.
That they usually don't strive for exact reproductions of works is another difference.