As nations try to stem emissions to keep the world from warming more than 2 degrees Celsius in line with their commitments towards the Paris Accord, replacing fossil fuels with renewable alternatives is widely seen as a big step in the right direction.