The move includes a commitment from China to deliver rare earths used in everything from wind turbines to jet planes.