AI Helps Microrobots Learn to Swim and Navigate