Barack Obama used his final State of the Union Address to take a swipe at Donald Trump by urging the United States not to give in to fear and division.