The money from the bipartisan infrastructure bill will go to 20 companies to create battery-grade materials, and to promote less reliance on China.