After years of being relegated to characters in fantasy and science fiction, robots are finally becoming crucial players in solving real-life problems.