Trump has said he has spoken with Apple chief Tim Cook about the company’s long-running tax battles with the European Union.