Trump backs AI safeguards while warning against rules that could leave the US trailing China in the global technology race.