The AI-rewrite should be considered a derivative, & therefore subject to the parent-license, I believe.
Except that AI doesn't have any right to copyright, & therefore to licensing.
Which means that it's just an illegal derivative made by a tool.
_ /\ _