During a private fund-raiser, the former president warned that the technology could be “dangerous” if not managed urgently and with a clear plan.