We do not have to make hydrocarbon fuel from foodstocks,(and should not!) We can put together the components from base elements.
NRL Seawater Carbon Capture Process Receives U.S. Patent | News
A modern cracking refinery is already assembling olefins into desired fuels,
Shell has the end stage for turning natural gas (CH4) into whatever liquid fuel is in demand.
Consider that as solar expands, so will the seasonal surpluses of electricity, a supply without a demand.
If the refineries provided a grid level dump load, and stored all the surplus electricity as transport fuels,
they could then sell those fuels through their existing distribution infrastructure.
The limitation is that currently the greater profit is in refining oil, but the cutoff is ~$90 a barrel.
if oil get above that, the refinery could make greater profit, by making their own feedstock.