While investments in technologies like solar and wind farms, advanced batteries will generate jobs, the transition will also likely cause a loss of jobs and tax revenues in fossil fuel production.