The solution should take after Russia, China and Israel: use [the internet, AI, etc.] to violate international laws, not domestic ones.
The western world keeps getting crippled by ransomware attacks and other malware because nobody can practice the dark arts domestically without risking serious jail time. The only people who can advance these skills enough to know how to defend against it (or return fire!) are either CIA, Israeli contractors, criminals, or foreigners abroad. An American will go to jail for hacking a Russian bank, but no Russian goes to jail for hacking an American bank.
Train AI on foreign content only. Understand their culture better than they do. Then learn how to subvert it. It's what they've been doing to us.
But do you think that China and Russia are going to do the same?