Actually, whilst airline flying probably is safer, the statistics you often see are skewed, because they compare the number of accidents against distance travelled to get the danger ratio. That is giving an unfair advantage to airlines, because they sometimes travel enormous distances, yet the vast majority of accidents happen at take off or landing, which have to be undertaken regardless of how long the flight is.
If all airline flights were only ten miles long, you would see the statistics making it look far more unsafe, even though the actual number and rate of accidents would be no different (or at least barely different).