Robot tells British Parliament that AI is a threat and opportunity