U.S. President Donald Trump and Iran threatened to escalate their war by attacking energy and desalination facilities in the Gulf, a potential widening of hostilities that could deepen a regional crisis and add to concerns in global markets.