President-elect Donald Trump has been sentenced to unconditional discharge for his New York "hush money" trial conviction.