Most of the gasses we pull from the ground are byproducts of oil and natural gas production. We don't pull them from the ground because we want them on their own, we just go ahead and capture them because they are coming up with the stuff we want for fuel - they'll still continue to be captured (or worse vented to the atmosphere) as long as we're pulling those fuel sources from the ground.
Industrial CO2 also mostly comes not from the ground but from other industrial processes.