I'm guessing that the sci-fi practice was due to the sociological similarities between spacecraft crews and ship crews on isolated, long-term voyages. At present, the US Air Force has been responsible for most high-tech concerns including cyber warfare and space warfare, so it probably was the least organizationally disruptive to bring the new branch in alongside the AF.