Scientists create a shape-shifting nanorobot that moves like liquid but hardens like steel.