Both President Donald Trump and Senator Bernie Sanders have expressed interest in the U.S. to taking equity stakes in AI companies.