Scientists 3D print a robot that walks away when complete