The restrictions were the latest attempt by China since 2023 to leverage its dominance in mining and processing critical minerals used in everything from smartphones and electric car batteries to infrared missiles and ammunition.