Trump agrees on AI rules to satisfy tech and base