Has there been a machine that, on its own with no relevant programming, one random day, spit out a piece of "art"? My guess is that the answer is "no". If I'm right in my guess, machines don't produce art.
Machines produce what their code tells them to. If the code says, "Keep repeating something until you get something that looks like something else that we've determined is art," that's still a machine doing what it's "told to do".