Early computers were created to calculate ballistic tables for artillery fire support in military.
Most of the innovations in computers and tech are direct results from military arms research.
Silicon Valley didn’t just sprout from nothing. There were lots of engineers in the area that worked to support military contract making weapons, and their kids started computer companies.