Trump signals openness to AI safeguards while warning against falling behind China