Trump revealed that he had spoken with Apple CEO Tim Cook, who reportedly committed to a major investment in the country.