The billionaire co-founder of LinkedIn has told friends he is considering moving out of the US following Donald Trump’s election victory.