Trump says he discussed AI safeguards with China’s Xi