The government has a fiat printing press.
Microsoft does not.
If Microsoft loses $33 billion per year for ten years (equivalent to ~1/3 of sales), it will go bankrupt. In fact, if it loses money like that for just four years, it will likely go bankrupt.
If the US Government bleeds $1 trillion per year for ten years (equivalent to ~1/3 of its tax revenue), it will tax you more and or print away some of your standard of living. See: Japan's budget deficit versus tax revenue the last decade. Nothing stopped the Japanese Government from being fiscally wildly irresponsible, then debasing the Yen and stealing the standard of living of the Japanese people to pay for it all (still continuing now).
The need to not lose money perpetually, enforces at worst a minimum required level of efficiency by the vast majority of private businesses. There are very few exceptions to that, even in quasi protected monopoly situations such as railroads, telecom or airlines.
The US Government has no inherent efficiency enforcement mechanism. As witnessed by the public debt going from $5.6 trillion to $21 trillion in just 17 years or so.
If you want to talk about required efficiency, trying running a manufacturing business with a 6% profit margin, or Walmart with a 2.x% net income margin, or a liquor store or convenience store with a 5% profit margin. You'll instantly learn how brutal and unforgiving the private sphere tends to be versus the more typically spendthrift ways of government.