Ex-Google safety lead calls for AI algorithm transparency, warns of 'serious consequences for humanity'