Last week, during a high-profile financial summit in Riyadh, a robot called Sophia was granted Saudi citizenship. A publicity stunt, according to some analysts, but what does it actually mean to give a robot citizenship?