Like everything else, new battery tech will eliminate the use of many of the rare earth metals and re-purposing or recycling with become a thriving business.
https://cleantechnica.com/2020/03/06...use-recycling/
https://electrek.co/2019/04/16/tesla...ycling-system/