Diesel and gas are different fractions of petroleum, having a use for each makes both cheaper to use.
Could there not be an EV/hydrogen combo that potentially fixes range anxiety or another issue?
Besides competition never hurt anyone, batteries will be developed faster, research conducting more often and so on.