Why Brazil? Australia is the world's biggest producer of lithium minerals and has the second biggest proven reserves. They're also probably the US's closest ally.
Lithium ion batteries don't use rare earth minerals (which are the lanthanides plus yttrium and scandium [1]). Nickel metal hydride batteries contain some light lanthanides, but these new battery factories are all for lithium ion batteries.