The problem is, AI removes the protections provided by (A)GPL: It learns exclusively from the free software and generates "unlicensed" code. AGPL is loosing its teeth.
Commercial companies will even learn from your new, quickly growing, AI-accelerated codebase to release something better under a closed license. And your free software, although more efficiently growing, will stay even more behind its proprietary alternatives than before.