AI or any machine can only create CRAFT, not art.
Being assigned a task or job as in 'programmed' to do a function does not lead to art.
That leads to craft- the same way a machine can weave a basket or etch a pattern in metal.
Art is an expression of the human (creator/watcher/receiver's) condition, rendered through imagination.
The closest place is a commission, which is art for profit. [that's still (considered mostly) a craft]
A machine would not be creating art for profit, it would be creating art as a response to a command or prompt.
The AI would have to be expressing its own machine condition and use its imagination to express it.
THAT would be art(istic) to a MACHINE and NOT humans as we could not relate and humans would not consider it art.
It would be a crafted thing, done by a machine.
And it would be appreciated as artistically crafted, not art.
For those that got lost.
Machine art is when your printer crashes or has a problem and prints some garbled, almost-image that seems to use every color and character, but makes a big smear across the page. THAT is ART to a printer. It is using an image to express that something is wrong and any other thing that sees it, understands that.
We humans- do not relate to that printer in distress and consider that printout a problem that needs fixing.
That's why people who can't appreciate ART and STYLE only see pictures that 'don't look quite right'.
They are missing the message AND, more importantly, THE INTENT.
Remove the intent and remove the meaning, it's not art.
It's craft. Machines do that well already.