With plummeting prices and slowing demand for EVs, the once-thriving mining towns of Argentina, Chile, and Bolivia are now struggling.