The report amounted to an extraordinary rebuke of President-elect Donald Trump, capping a legal saga that saw him charged with crimes that struck at democracy.