The correlation between canopies and fire hazard is the necessary time to get out of the car, specially if upside down, and (in an admittedly less probable incident) smoke inside the cockpit.
The stock car video I've posted is a example of both factors: to get out of the car and smoke inside the cockpit (the later making the former even more difficult).
When was the last time a car ended upside down and on fire?
When was the last time we had a fuel tank leak after a crash?
I really don't see how adding a barrier in the form of a canopy is meant to increase the chances of a driver being burnt or inhaling smoke. It's putting something in the way of those things.
And even if a driver does get trapped upside down in a burning car the marshals are going to be able to get to him and put the fire out very quickly.
There isn't any chance of a Rogar Williamson or Niki Lauda style incident these days, and the addition of a canopy doesn't increase the chances of fires hurting a driver.