The supply of lithium—the battery material that keeps digital devices humming, EVs racing and renewable energy on the grid—will not meet even half the expected demand by 2040.