The Department of Defense’s experimental, unpredictable use of artificial intelligence nearly caused a catastrophic diplomatic incident in the middle of the Iran war this spring, when an AI-generated ...