China has restricted exports of critical minerals, which are needed for products like semiconductors and electric vehicle batteries.