Researchers have for the first time used game theory to enable robots to assist humans in a safe and versatile manner.