A study has found that ChatGPT shows a left-wing bias after a group of researchers asked it to impersonate polarising figures from the political world.