China holds a near-monopoly in the processing of the elements crucial for making everything from smartphones to fighter jets.