Where infringement arguably can happen is when that model is used in the generation of content - and if the user is prompting regenerate a protected work, then that is where the infringement happens. But not before. Maybe the various ai services can adequately guard against that illicit usage. Maybe not. And if not, its those live services that would need to be shut down.
But the creation and training of a model, and even distributing that model for people to use with their own computers in private does not engage in copyright infringement.