A growing number of state lawmakers see these technologies as part of the plan to build trust with unions and offer workers an off ramp from fossil fuel jobs.