Maybe not government, but much public resource was not driven by profit.
The entire software industry relies on a foundation of free and open source software. The profit model wouldn't even exist without the work of people who do it purely for passion.
Penicillin was university research and given away freely.
The Wright brothers weren't trying to start an airline, that just wanted to fly.
ironically, tho not recently government, the majority of your examples were not discovered/created in the pursuit of profits.
The entire software industry relies on a foundation of free and open source software. The profit model wouldn't even exist without the work of people who do it purely for passion.
Penicillin was university research and given away freely.
The Wright brothers weren't trying to start an airline, that just wanted to fly.
ironically, tho not recently government, the majority of your examples were not discovered/created in the pursuit of profits.