Correction: it can't 'create' art. It mashes together whatever it can find on the internet.
That's false.
It's a common misconception, but definitely NOT how stable diffusion works.
I'm no software engineer, so my knowleadge is limited, that I can agree with. I don't know, all my alarms just go off when someone tells me AI can do 'art'.
To my knowleadge AI, at this stage, doesn't know what a cat is when you ask for a drawing of a cat. It can't see or have any associated feelings of a cat. The AI knows what it has been 'fed' by people or just pointed by them where to look for what a cat is. So all the script knows is pictures from a chosen source labeled as 'cat'. Uses actual works of people to do it's own job.