EDIT: As @LeslieBurns says below, this is INCORRECT.
I’m not a lawyer. But intuitively, as the SCOTUS implies, copyright protects the work of humans. When writing a prompt to generate art, a machine is performing the vast majority of the transformation from the billions of works it ingested, not the human. Granted, *how much* human work needs to happen for something to be “transformative” (and thus grant the person a copyright) has been a subject of debate for decades, but generative AI is nowhere close to that threshold IMO.