AI leaders warned the UN that fast-growing artificial intelligence could pose security risks worldwide.