Trump has called America's intelligence agencies into question for concluding Russia waged a cyberattack on the US during the election.