Micro- and nanotechnology for living machines