Government has of course done, and continues to do, many vital things well for its citizens in many countries around the world (universal healthcare, for ex.).
There has also, of course, been a push for generations by capital to privatize its various functions, and one of the most common approaches is to defund and degrade an aspect of the government (see current admin) and then afterwards point to the degraded entity as an example of ineffective government that must be replaced by private enterprise.
If government were to infiltrate Apple, fire 80% of its staff at random, cut budgets across the board by 50-80%, put in place a CEO that has spent their entire career campaigning to rid society of the scourge of electronics, and refuse to fill necessary vacant positions for years, would it then be an intelligent assessment to say "man, private corporations like Apple really suck at making phones, they should be nationalized"?