Chinese telecom equipment maker ZTE Corp has agreed to plead guilty and pay nearly $900 million in a US sanctions case.