The Pentagon’s leap into generative AI marks a seismic shift in how wars are planned, fought, and won.