Scientists have developed an electronic skin for robots, enabling them to differentiate between ordinary touch and potentially damaging force.