Earlier quoted context omitted.
A number of points in Google's favor: they are not passing off Google books content as their own, they limit your access to a small fraction of the offering. The thing that surprised me about that ruling is that it was deemed final without a chance of an appeal.
As well, Google is, because of these things, somewhat acting as a library. An libraries are very special entities.
I still think "training is fair use" still has a leg to stand on, though. But it doesn't save GitHub Copilot because they're not merely training a model; they're selling access to its outputs and telling people they have "full commercial rights" to its outputs (i.e. sublicensing). Fair use is not transitive; if I make 100 Google Books searches to get all the pages out of a book, I don't suddenly own the book. There is no "copyright laundry" here.