AI is in the wild already, and people have uncensored AI that is capable of making images that are considered illegal in various jurisdictions. The time will come when the people that own the AI making such images will be prosecuted for doing so. When they can be held legally liable for creating images using AI, it will be unreasonable not to grant them copyright for images that are made that way.
The laws we have were not designed to cope with AI, but will have to adapt as necessary to the needs of the state, while we are still subject to jurisdictions. We have entered the Space age, and in due time it will not be necessary to be subject to jurisdictions, and then such questions will be moot.