Why can planes travel faster than trains?

And the TGV has never had a fatal accident on a high-speed rail track. The only fatal TGV accidents happened on conventional track (i.e. with level crossings, mixed traffic, etc).