That robot's not going to be overly productive, though. Japan plans to have the bipedal humanoid robot Maido-kun plant a Japanese flag on the lunar surface, as a publicity stunt to show the country's techno-prowess. Sounds more like a small step than a giant leap.
Think of it this way: If that robot can plant a flag in the ground, there are plenty of other things it could do, like it maybe imitate its non-humanoid Mars-exploring cousins. Best of all, that bot probably won't mind too much if it's marooned on the Moon, saving the trouble of a return trip.