It's not expensive to build or operate as long as everything goes right. If and when things go wrong it may be so expensive that dealing with it requires major resources. IIRC, nuclear plants are all basically government insured because there's no insurance company or set of companies that could underwrite the potential losses from a catastrophic failure.
Living only expecting things to go right means that cities don't need to worry about backups and hardened networks.
It's when things go wrong that you end up with an HBO series a few decades later.