Again, government funding is not socialism. It's just government funding. Socialism is something different; that's why there are different words for it.
NASA is funded in much the same way the military is. They manufacture very little on their own. For most of their big programs they take the taxpayer money they get and give it to Boeing, Lockheed, Northrup-Grumman, or some other firm through a contract (hence the term "contractor"). The means of production are 100% private, the government is simply a customer and the contractor makes a profit on the sale (usually - if their performance is poor they might not).
"Socialism" as a concept is only a couple hundred years old. It can't possibly be meant to describe literally any and all government involvement or else there would be no need for socialist revolutions - socialism would already be in place.