President Donald Trump said on Thursday his administration was looking closely at Amazon's contract with the U.S. Defense Department after getting complaints from other tech companies.