The US president Barack Obama is set to leave the White House at the end of the year and speculation is mounting about what he will do when he leaves office.