The US president's announcement comes after China pledged to impose restrictions on the export of rare earth minerals.