His comments contradict US intelligence agencies' reports that Russia was behind an effort to interfere in the election.