An assessment by the Office of the Director of National Intelligence identified Russia as the primary foreign actor using artificial intelligence to undermine public confidence in democratic institutions.