Space-X isn't competing with NASA, they're competing with Boeing/Rockwell/Northrop/Et al.
NASA can still run their science missions, but now they can do it for much less (or they can do much more for the same money) by using Space-X rather than the others for launching their missions.
|