A new bill would hold the state’s largest oil and gas polluters accountable and use that money for grid and transit upgrades.