There are cases where people are also investing or starting up. For example, Tesla is best for the public. Why? Because it decreases the amount of oil we use for cars, and that helps the climate, not that it is going great yet, but it helps a bit. Or some companies make weapons; private companies, while they do sell them to governments, are private ones to start with, so the first investment comes from regular people.
So basically, there are exceptions to the rule. But in the end, you are right that most of the public stuff is government-owned or invested, and they get subsidies from the government to do it; hence why what's best for people is not always best for the countries.
That is for the government who are helping their own businessmen to thrive and if they see that economically, it's going to help them and their people.
But if it's just a regular start up that has no clear plan and path for the long term, they're not going to give help for it.
The government only goes to the start ups that are helpful on their own benefit. Hence, this is also the mission of the wealthy ones who are longing to profit more and help these start ups which potential. And that's why we see valuations left and right for what they are building.