Confronting the risks of artificial intelligence