In an internal memo, Tim Cook said he had discussed the matter with President Donald Trump, according to a Bloomberg report.