President-elect Donald Trump has threatened to retake control of the Panama Canal in his first speech since the November election.