The threat comes as the Trump administration has put artificial intelligence and cybersecurity high on its technology agenda.