A small but mighty microbe that can safely extract the rare earth and other critical elements for building everything from satellites to solar panels has another superpower: capturing carbon dioxide.