True, directly using that electric energy from wind or solar is definitely the best option.
However, that is not always possible, since there is no place to consume, transport or store that electric energy.
Furthermore, scrapping all ICE vehicles for BEVs is most likely the end goal. But replacing the worldwide fleet of vehicles will take decades.
HyTech seems to be on to something for these two scenarios.
If for instance you can capture some of the excess solar and wind energy in a metal hydride for some hours, weeks, or even months, you will on a larger scale reduce the load of the electric grid.
And if some of that Hydrogen can be burnt instead of Diesel, the car or truck in your driveway is both cleaner and less dependant on fossil fuels.