SpaceX developments have a clearly defined goal with most engineering and production decisions made according to mission + cost constraints. The space shuttle development had dramatically changing requirements from multiple stakeholders (cheap launches, crossrange capability, recovery of military satellites, etc.) with production facilities based on jobs in voting districts. As impressive as the space shuttle was from an engineering perspective, from an economic and safety standpoint it was a complete desaster.