Operating machines at the nanoscale