China is outpacing the U.S. and other countries in a global race to secure supplies of an all-important element for electric cars.