It might be interesting to step back and look at the MMT perspective of this.
A Good Government spends money on projects that generate useful things for their people, and is best spent collectively. It could be maintaining dykes, building a road infrastructure, providing a social safety net, or whatever other program.
The resources from this task have to come from somewhere.
In a modern economy, we use debt-backed fiat currency to run our economy. Every unit of money (I'll call it a dollar) represents someone "owing" you a certain amount of work or resources; it is a debt from the collective economy to you.
Our banking system maintains this by creating new money roughly in parallel with it creating new debts; so when you buy a home and owe 1/4 of a million dollars on it, this is roughly in sync with putting 1/4 of a million dollars into circulation (almost entirely electronically). As the bank clears the debts owed to it, it has to similarly clear the dollars in circulation. ("Putting money in circulation" is basically creating it, because fiat money outside of circulation doesn't matter.)
The government typically pays people with these debt-backed dollars to do the services for the population. This causes a problem in that it makes a bunch of obligations that aren't balanced people obliged to fulfill it. If someone promises to replay 1/4 of a million dollars on a house, if they don't repay that money they lose the house; they have plenty of reason to want to get ahold of dollars. If we just hand out 1/4 of a million dollars without also making a 1/4 of a million debt, then nobody is chasing those dollars. And while money is fungible, when there are more dollars than dollar chasers, the demand for dollars goes down, making those dollars less useful.
To balance this injection of currency into the economy, the government wants to take an equal amount out of the economy.
The traditional way is with taxes. You tax people for an amount roughly equal to your government expenditures, thus keeping the amount of currency in the economy from growing. You can also ask people to volunteer to give you money to keep out of circulation -- we call this "government borrowing money"; and, as an incentive, the government promises to pay them back the money plus interest later.
A government with investments and funding itself from the profits of said investments is doing the same thing, but now the profits on the investments are what the government is removing from circulation.
This acts a lot like taxes, but it is taxes on a the specific surpluses of a specific subsection of the economy. If the government owned piles of farm land, and funded itself off the profits from selling food, this is the government pulling money out of the economy along the food-consumption rate of it.
When pulling money out of the economy, the government needs to be careful about where it pulls the money out. If it pulls it out whenever people eat food, be it taxes on food or on profits from the food it sells, it determines who pays for the services the government provides. In this case, it is proportional to how much food you eat, which is relatively regressive.
Regressive sources of government funding is when the governments money sink pulls money away from people who are relatively poorer. Consumption taxes are examples of a regressive source of government funding; here, "consumption" usually refers to the category of things poor people consume (food, shelter, transport -- scaled up for rich people, but the same category), as opposed to the category of things that richer people consume (things like politicians or economic control and the like, which poor people spend far (absolute and percentage wise) less on).
So all this does is that the country ends up taxing the users of the investment. Now, in some cases the country can manage to arrange for non-members of the polity to pay for this! Imagine a country controlling an important waterway (Suez, Panama, Black sea straits) who funds itself almost entirely from passage fees. 99% of such fees will be people who don't live in the polity -- and you can see how that might be very popular.
At this point I'll digress into the power problem. One thing that makes the people of the free world free is that the economic power of the state is dependent on the people. Dead, oppressed, or rebellious citizens cut into government power; the government must have passive consent of the populace. If the government's source of power is not the people, unless you are extremely careful those in control in the government will not consider the population a problem and not an asset. They are free to oppress the population without a significant hit on the ability of the government to function.
Capture of the state by the exterior resource extraction industry can occur. Those in charge of the resource become more powerful than the democratic voice of the people, and when conflict arises the people lose.