Motors with planetary gearbox