You can't see software.
[1]: http://www.aurora.aero/wp-content/uploads/2016/10/ALIAS-Broc...
Edit, found a reference for the autonomous helicopter:
Unlike chemical/nuclear warfare, no factories, material transportation, etc. out of the ordinary observable by other countries. Sensors needed for the systems would be entirely justified for other reasons and software to change behavior can be loaded invisibly.
There would be no way to police it.
The real use for chemical weapons is to terrify civilians and poorly organized/equipped militias. Most of all it’s a way to murder a large number of civilians without destroying infrastructure. Needless to say that’s not something you’d typically do in a war, where destruction of infrastructure is typically step one! As a result most countries recognize the economic and social burden of chemical weapons and their use, and strongly oppose them.
See Vietnam War, Napalm, Agent Orange etc.