The problem isn't government meddling, but the government creating perverse incentives. Boeing has an extremely strong relationship with the government, which means they get sent endless billions of dollars with quality being only a distant concern. Because it's not like Congress cares about space - NASA is just seen as a convenient jobs/pork medium. So long as money gets redirected to the right people, they're happy. And so maintaining this relationship, and milking it for all it's worth, becomes much more profitable and reliable than trying to compete, innovate, and bring down prices. On the contrary, high prices and long development times just drive even more profit. Most of their contracts have been cost plus where the government pays for all costs and then gives them a fat chunk of profit on top. Even the fixed price contracts tend to end up getting 'adjusted' over time.
Any company solely motivated by profit would probably be destroyed in this system, because the incentives created do not reward competence.
Whether it's in the public or in the private sector, the real problem is a lack of competent leadership. At some point we started respecting the person with the most profitable hustle more than the person showing actual competence and integrity.
Any company solely motivated by profit would probably be destroyed in this system, because the incentives created do not reward competence.