It's the person who had the idea to do so and did so. AI doesn't do anything you don't tell it to, it is the banana creator in this case. It is still up to you to get the best looking banana you can then display it.
Why end there, why isn't the manager who told the artist to make a piece the artist?
> AI doesn't do anything you don't tell it to, it is the banana creator in this case
So if I tell the AI "create me a piece of art", and it gives me a cool image, I am the artist? So, if a manager tells a person "create a piece of art", the person goes and tapes a banana to the wall, the manager was the one who created the art?
Edit: And if you think an AI can't handle that question, I just gave it to an image model and got this. Did I create this art-piece? If not, who did? Did the AI create it?
The AI created it but you choosing to display it is the art, performance art specifically, not that the image itself is art (but again if someone looks at it and it moves them, the image itself could also be considered art); did Duchamp manufacture the urinal he turned into The Fountain? No, but then why do we still consider that art? By your logic, he wouldn't be an artist.
Not sure why you're talking about managers, that seems one step removed. Michaelangelo was commissioned by the Pope to create something, is the Pope the artist? But then let's say Michaelangelo then uses some machine or hires his subordinate to paint for him, who is the artist then?