Some systems need to be on the internet. cool story, but, why would critical infrastructure such as this need to be is still unaddressed by your comment.
There are other systems that are used to monitor load/draw on the grid and ensure safe operation.
Things like smart meters can be connected to the public net and if compromised just cause a headache.
Your critical safety system should not be connected to public networks or at least should have strong protections.
Those numbers are looked at on aggregate to determine how much electricity needs to be produced to supply the population. They are directly tied into finance departments to generate your bill, sure, but that is an independent system from the production of electricity.
In the case of water supply, same thing. Just because I turn on my tap doesn't mean I am directly affecting the water treatment plant to treat exactly 1 more cup of water today.
Consider an automated warehouse: https://www.youtube.com/watch?v=dAXdeqcHBp4
Internet <-> Website <-> Stock control system <-> Stock inbound station <-> Conveyor control system <-> Emergency stop monitoring system
It's possible to make such a system safe, of course. But a company making a web browser has their defences tested and their security spending validated by unceasing attack. The same resources might be hard to get in an industrial automation company if the higher-ups think "there hasn't been an attack, and they already have a firewall, a VPN and a virus scanner, whatever those are"