If you want your nice smart phones you'll just have to accept the environmental destruction that goes along with it. Corporations like Siemens will live through wars and famines and the heat death of the universe, probably. this, and vibrating trees, here .
The r&d budgets for various things increases massively during the war. The same was true for space race as well. I would say it's more of a correlation then a causation. In peaceful times sciences just get shit on.