Don't know about the trucks but ICE cars Vs. EV cars total manufacturing cost (in terms of CO2 emissions) is pretty much the same. The real benefit in CO2 reduction comes from using renewables to power the vehicle instead of using fossil fuels.
https://www.forbes.com/sites/quora/...ootprint-of-tesla-manufacturing/#5817d3f76096