CO2 as carbon source for fuel synthesis