Donald Trump is sworn in as the 47th US president, initiating a new agenda while Joe Biden departs the Capitol after his presidency.