NASA worked through its issues. When the shuttle program ended, it wasn’t directly because of either of the disasters. Both of those were followed by extensive reworking of the system behind the missions.
Also, Boeing is not a fully private enterprise and receives significant federal funding.
Also, Boeing is not a fully private enterprise and receives significant federal funding.