Where do you think CO2 ends up when you use hydrocarbon to make steel or aluminum?
Anyway, it depends on what you’re doing, if your for example using coal to add carbon to iron to make steal the it ends up in the steel. If you’re burning it to make heat then it ends up in the air.
The average CO2 intensity for the steel industry is 1.9 tons of CO2 per ton of steel produced. Taking into consideration the global steel production of more than 1,3 billion tons, the steel industry produces over two billion tons of CO2.
That’s ~5% of global emissions per year, though looking at a number per decade and comparing it to a number per year is rather big difference.
Reducing the carbon intensity of steel and also concrete production are things that being worked on. Companies in those industries aren't willing to be martyrs but unlike fossil fuel companies they aren't hostile either.