Prime Minister Anthony Albanese said climate action would be his legacy upon winning power in 2022. Since then, investors have rediscovered a love for carbon.