Magnetic gearbox could power robots to crawl or jump inside your body