Warfare's tech shift puts $2.4 trillion in defense spending at risk