C'mon, let's be honest. Computing technology in the US for the first couple decades was all about calculating artillery and navigating ships and fighter jets, too.
The initial push to computing tech came from the need for cryptographic and artillery purposes. The true first microprocessor was the Central Air Data Computer in the F-14 fighter jet. The defense industry in many ways led the way on almost all fronts -- super computing, networking (DARPA etc), cryptography, etc. etc.
Initial public and defence investment. Later, private market application. The USSR mostly lacked the latter, though.