No, NASA does not pay SpaceX. SpaceX is a private company that designs and manufactures advanced rockets and spacecraft.