During a business roundtable in Doha, Qatar, President Trump knocked Apple's Tim Cook for moving production to India.