What you're talking about is evolution and we've seen lots of problematic outcomes with just genetic diversity alone.
You dont need an adversary, and it's kind of suggesting that these systems even can modify themselves in a coherent manner which I dont see proven.