In the runup to the midterms, the Trump administration is planning to emphasize AI’s economic benefits , but some allies are warning of political blowback.