The energy transition was supposed to be a story of innovation and falling costs. But is protectionism now driving up costs?