Adam McKay took to social media as Donald Trump edged closer to victory, saying he plans to leave the Democratic party.