Robotic swimmer sheds light on microorganisms in motion