Since nanobots are microscopic in size, it would be necessary for very large numbers of them to work together to perform macroscopic tasks. These nanobot swarms, also sometimes called utility fog or "goo" (as in grey goo and its less common variants) are found in many science fiction stories.
More modern scenarios for productive nanotechnologies dispense with swarms of nanobots, in favor of nanofactories in which nanoscale machines are solidly integrated into a desktop-scale machine that builds macroscopic products.
Medical nanotechnology is often expected to utilize nanobots injected into the patient to perform their treatment on a cellular level.