A JDAM through it's power supply would be an effective defense against a malicious strong AI.
If the hypothetical malicious AI gets built, your JDAMs will be about as advanced by comparison as a pointy stick against an M-16.
Is somebody going to take a JDAM to Google's data center in Atlanta or Amazon's data center in Seattle? Blow up Facebook in Palo Alto? Won't the US Air Force have a problem with that?
Entertaining perhaps, but ultimately pointless and silly.
For a counterpoint (and not even a particularly malicious strong AI), see The Adolescence of P1.