Scientists have genetically modified a tiny bacterium to rapidly purify the rare-earth metals used in computers, electric car batteries and…