I use AI every day, for code analysis, tests and documentation. But I check every result myself before it reaches you.
If AI did not solve your problem, it is usually because the fault lives in the running system, not in the code. Or because nobody can check whether the fix is right. That is exactly where I start.
Do your domain experts now write software with AI themselves? Then a lot of code appears in a short time, and after a few months often nobody understands it any more. I set the structure, review the changes and add tests, so the software stays maintainable. If you like, I also set up the AI tools for development.
On request, the AI runs exclusively on my own hardware. Your code then goes to no cloud service.