AI has become a major topic at the UN General Assembly after incidents of the technology falling out of the control of humans and warnings by company insiders drew global alarm.