“Would they have otherwise not been discovered or invented?”
Sure, perhaps in some other country, but definitly not in your life time. And definitely we would not be using the internet as we are now, cell phones would look like a shoe box, computers would be sporting 128 MB of RAM on a 300 MB hard drive for backups from the tape and punch cards in a 800 sq ft room.
I doubt that very seriously. There were other uses and needs for all those items. American ingenuity and creativity would have advanced all that on their own and much cheaper than NASA could.