President Donald Trump signed an executive order to block defense companies from paying dividends or buying back stock until they improve production.