You don't have to be a government to spend half a billion on a system that never works.
It is generally an environment and context that can lead to resources being expended in ways that would be very unlikely to happen in more commercial settings, however.
Businesses do tend to avoid such mishaps in the first place, or at least manage to stop them earlier.