Will the Earth ever run out of CO2?

Yes. It’s an extremely long term project, but to deal with an equally extremely long term problem that’s fine.

By coincidence, this came up in Google Science news today: