US Pentagon is testing whether AI can plan response to an all-out war