Nanorobotic motion on solid substrates is greatly hindered by strong nanofriction, and powerful nanomotors‒the core components for nanorobotic motion‒are still lacking. Optical actuation addresses power and motion control issues simultaneously, while conventional technologies with small thrust usually apply to fluid environments. Here, we demonstrate micronewton-thrust nanomotors that enable the autonomous nanorobots working like conventional robots with precise motion control on dry surfaces by a photothermal-shock technique. We build a pulsed laser-based actuation and trapping platform, termed photothermal-shock tweezers, for general motion control of metallic nanomaterials and assembled nanorobots with nanoscale precision. The thrust-to-weight ratios up to 107 enable nanomotors output forces to interact with external micro/nano-objects. Leveraging machine vision and deep learning technologies, we assemble the nanomotors into autonomous nanorobots with complex structures, and demonstrate multi-degree-of-freedom motion and sophisticated functions. Our photothermal shock-actuation concept fundamentally addresses the nanotribology challenges and expands the nanorobotic horizon from fluids to dry solid surfaces.