AI will become/is already much better than most devs in detecting security flaws in code.

So my prediction is that any software worth scanning by redteams will become more secure. Not less.