Well,of course the one giving the prompts, not different from when your boss takes all the credit for a series of prompts that created a solution you wrote.
I suppose the Catholic Roman Church has always owned the chapel. It then owned the paintings as part of the chapel.
This a case where the artist was so notorious that we know he is the author. But he has never been the owner, he was paid to work.
It is OpenAI's GPT, not Ilya's.