Why do you believe that?
The US Copyright Office has stated such: https://www.copyright.gov/ai/Copyright-and-Artificial-Intell...
The Council of the EU has also stated such AFAIK.
In a similar way, I would not consider AI to be the "author" of the output they produce. Rather, the person prompting it should be considered the author, in my opinion.