I would suggest instead of viewing AI as the creator, it should be viewed as a tool, and the person/team who built the AI as the true creators.
South Africa has become the first country to award a patent that names an artificial intelligence as its inventor and the AI’s owner as the patent's owner.
Edit - I not claiming this is the correct result. Just looking for clarification on what this means, legally speaking.