The funding will go towards new battery manufacturing facilities, as well as critical mineral processing plants and recycling sites.