US forces nearly attacked a Chinese vessel last spring due to faulty AI intelligence. The operation was called off at the last moment, and the attack could have led to armed conflict.