As far as I know, it was Nasa that put a man on the moon, not some coorporation. Also: the internet was invented by the government. What nice things have corporations given you?
NASA was the program manager for the Apollo program. You don’t think NASA actually built the rockets or the various modules, do you?
NASA doled out public money to prime contractors for various pieces of the program (North American, Grumman, Rocketdyne, Douglas, IBM...) and the primes subcontracted various pieces as they always do.
This is not to understate the tremendous engineering effort of organizing such a huge program, but it’s not like this achievement was done by a bunch of government workers alone.