President Trump complained about the federal investigations into him and vowed retribution against his political foes.