Its pretty rare for car fires to happen on public highways. Most car fires are incidents with a vehicle at rest, or deliberately set. Something like 2% of accidents involve petrol based fuels systems. Many more are cuased by other issues.
Telsla (as an example) previously recalled ~40% of its Roadster models in 2010 for fire-hazard related faulty wiring. That kind of thing would be attributable to any type of car.
The high incidence of Model S LiIon fires in the field, is much more problematic and worrisome, IMHO. Like you say, it may just be a design flaw on the location of the battery pack. Aft of the front axle is a debri-zone, wheras aft of the rear axle would be more protected from debris (but subject to crumple zone impacts compromizing the integrity of the pack directly or through shrapnel)