War itself may not increase technological growth. But preparations for war certainly do. And please show me another competition that has yielded lets say 50% of technological advances that various arms races have?
Sadly when human develops new kind of tech and is looking for money to get it widespread - the first and deciding question is: "Can it be used as a weapon?"
Think of the nuclear bunker gap!