UN says artificial intelligence needs to be regulated to prevent abuse