The time comparison is "I live in Washington, DC and want to go... to wherever it is that happens to be an hour away from me by whatever mode of transport I happen to be using (so, either New York or someplace outside of Baltimore) and I want to know which is safer"... but I can't for the life of me fathom why the second is a tradeoff anyone would actually be forced to consider. People generally travel with the objective of getting from some specific place to some other specific place.
In practice, no mode of transportation anywhere near as risky per time or per trip as my Mars example is ever going to become mainstream. The point of it is to demonstrate how absurd risk per distance is as a way of getting at a practical and meaningful assessment of travel risk, and we have to go outside of existing mainstream transportation options to see that absurdity because all the existing options must be extremely low risk by any measure or they wouldn't exist. The majority of consumers won't tolerate 1 in 10, 1 in 100, or even 1 in 1000 odds of death per trip.
Sometimes you need to be in a specific city - say, a work trip, or public event, or life event etc. Then, the question you want to ask is "which vehicle will take me there in the safest manner", and plane will likely win (assuming large distance).
Other times, you are deciding on a vacation destination. Here you often have a more-or-less fixed time budget, but a flexible destination, and the question can become "what is the safest trip I can take that will last between, say, 5-10h?" ( I could get to NY by plane, or to Vienna by train, or to the Golden Sands by car in roughly that time). In this case, trains and other mass transports besides planes may well win out in safety.
In the 17th century, I would walk to my local knife sharpener. In the 21st century, I can take a train to Soho to visit a superior specialist.
Both trips take a few hours via two different modes of transport. The fact that one covers more distance is immaterial. They are comparable by the fact they can both be completed in an afternoon.
(Ironically, our modern era provides a third option: cycle to the local specialist. Cycling with a bag full of knives — even blunt ones — is way too risky.)
The average distance to mars is about 225 million km, so that would be one accident about every 2,2 billion km or 0.45 deaths per km, which is a bit deadlier than buses and 9 times as deadly as planes. Gives some perspective on how save planes actually are.
Every new world-shrinking transportation innovation has changed the distribution of things in the world and increased the distance society expects us to travel on various kinds of "required" trips. That's because time and money are more important than distance in deciding whether a trip is worth it.
If you tell me I can fly to Mars in a few days on a brachistochrone torchship and it's safer per mile than any other mode of transport, you may be right, and a few days cooped up in a cramped cabin might be a small price to pay for such an exotic vacation destination, but that risk calculus is really very misleading. The distance involved is so vast that per mile it could be an absurdly low figure by any terrestrial standard while still carrying an absurdly high (by the same standards) risk of death during the trip.
In other words, if the odds are e.g. 1 in 10 that the trip will kill me, I don't give a shit how low the risk per mile is.