A private spacecraft carrying NASA instruments to the surface of the moon in preparation for astronauts to return in the years ahead has reached lunar orbit about a month into its spaceflight.