In just 20 years my state has moved from 70% coal - 30% natgas power to 25% coal, 50% natgas, 25% wind. In maybe a decade the only CO2 my state will be producing of any significance will be from automobiles, which look to be on the verge of being replaced by electric in at most 2 decades. Granted my state in the US has likely moved the fastest on this.
It is hard to believe that given just our current level of progress, that the world won't have drastically cut CO2 by 2050.