U.S. President Donald Trump said in a Twitter post that he would have dinner with Apple Inc Chief Executive Officer Tim Cook on Friday.