Russian President Vladimir Putin knocked back accusations that his government was behind a hacking campaign to influence the U.S. elections.