The only difference is the governance structure. In .gov, you tend to have professional / civil service people at the senior director level who know their business inside and out, with a political layer of management who drive change and vary in competence.
Medical records are a great example of how .gov/.com doesn't matter. When stuff gets complex, IT sucks.
I don't agree at all.
Big corporations can fail to do many things where it's not really important, so it might seem like 'failure' but mostly it's a function of market conditions. Other big failures (say Boeing 777) are understandable due to complexity.
Very few groups on earth can build such airplanes.
Anyone can build a gun registry.
I loathe how long it takes my bank teller to speak to me, but my banking services are in the end, amazingly cheap for what they provide.
Governments do a reasonable job at things like contract allocation for road maintenance, some kinds of construction, but they generally do a bad job operationalizing anything.