You are comparing the benefits of war to the wrong base. The civilians wouldn't have just burned all the riches (like war literally does to some extent), but would have used it to develop new products, too.
Nowadays the military actually uses consumer electronics.
Nowadays the military actually uses consumer electronics.