Most all of it comes as a side product. The amount of CO2 used for the applications listed pales in comparison to the amount used for urea (fertilizer) production.
Those things I mentioned buy their CO2 on the market. I have no idea where it comes from.
plot showing the breakdown with some gov't sources. --> https://www.iea.org/reports/putting-co2-to-use