NASA wants companies to compete with SpaceX over a contract it holds to put astronauts on the moon, a fresh sign of blowback over delays with Elon Musk’s Starship spacecraft.