Whether or not hydrogen driven cars become viable, there are strong arguments (Nikola Motors aside) that hydrogen trucks are likely to become viable, moreso than battery trucks, because of the energy demands and long distances driven. Autonomous vehicles could change the situation again, in either direction, depending on recharge vs refuel time and electricity vs hydrogen costs, and the price of that time and fuel relative to the value of vehicle uptime, especially for shared and fleet vehicles.
Whether or not hydrogen driven cars become viable, there are strong arguments (Nikola Motors aside) that hydrogen trucks are likely to become viable, moreso than battery trucks, because of the energy demands and long distances driven. Autonomous vehicles could change the situation again, in either direction, depending on recharge vs refuel time and electricity vs hydrogen costs, and the price of that time and fuel relative to the value of vehicle uptime, especially for shared and fleet vehicles.