I think people should generally be allowed to own weapons and general purpose computers, I don't think anyone has a right to build a doomsday device in their garage. If it is impossible to reconcile these, then freedom will be impossible. The only long-term solution is to develop "anti-doomsday" technology.
If you have a massive warehouse to train an AI that, IDK folds proteins to develop a bioweapon or something, then you should not expect everyone else to sit on their hands while you plan to hold the entire world hostage.
Stuxnet was a program that targeted specifically SCADA controllers used in uranium enrichment facilities. It is not a doomsday device, it is a targeted counter-doomsday device. And while the USA has an imperfect track record with respect to "WMD"s/Proliferation, stuxnet is something that I approve of as an american.