President Donald Trump signed an executive order last week targeting state laws that regulate artificial intelligence.