An analysis of active US mines finds they already collect virtually all of the minerals the country needs for batteries, solar panels and wind turbines – but these critical minerals mostly go to waste