Earth has had CO2 levels far higher than currently in the geologically recent past. We will run out of fossil fuels well before we destroy the planet.
The biggest effect of global warming so far is arguably positive. Plants are making good use of higher CO2 levels and it's estimated that farming yields have increased 30% in the last century from this faster plant growth.