If you were seriously trying to patent some AI-created invention, why would you claim it was created by AI? You would simply put your own name on it. This was obviously a case of pushing the envelope to see how far he could go.
This is just as hair-brained as going down to the police station and claiming that your gun just murdered someone, then being surprised when they don't put the gun in jail.
The law does not recognize the anthropomorphization of inanimate objects.
What I want to see is patent officers using AI to label patent applications as "not novel" if the AI can invent it.
But, since the income of a patent office is determined by how many patents they approve, one can dream ...