Donald Trump has announced plans to investigate or prosecute several political rivals, former intelligence officials, the country’s former military chief, prosecutors, judges, tech executives, members of Congress, and left-wing activists if he assumes office on Monday.