As a nation, we've had a series of tech mishaps recently, and conspiracy theorists have blamed foreign malefactors. Every official I've heard has denied intentional causing, and I suppose many of those are speaking the truth, as far as they know it.
My own opinion is that what is happening is a combination of three things. First is that our current systems get built atop older systems whose authors are no longer even employed where they could maintain them. The analogy of a jenga tower isn't too far off the mark.
The second is that systems too mission critical to entrust to the World Wide Web end up there when they should not. It proves to be too expensive to build a private, parallel comm net, air gapped from the global system-of-systems that is wifi, so encryption is substituted.
Third however, AI is enabling many thousands of hackers to defeat encryption barriers and poke around in places they shouldn't. Some percentage of those are psychopaths and sociopaths who get their kicks doing harm, whether in support of some cause, just to be a pain, to prove their expertise, or even for the notoriety it yields.
AI is a force multiplier tool, and it is up to the user whether it is used for good or evil ends. Cancer researchers and child molesters both can and do utilize the same systems to reach their goals. Presumably if you asked an AI to design a way to do tech mischief that cannot be tracked back to the perp, it could and would deliver a plan.
A military parallel from Ukraine may be helpful. AI is like drone warfare, a new technology against which an affordable defense is only slowly being developed. In the interim, a lot of damage occurs and certain old technologies become temporarily or permanently disabled.