Systems combining fuel cells with production of fuel of non-fossil origin