Earlier quoted context omitted.
You could calculate it by taking the average lifetime of a tree and dividing by the length of time slept and the number of trees in squashing distance.
Only if tree death is uniformly distributed over a tree's lifetime for some bizarre reason. And it isn't. The logic in the story is BS. First, you would never, ever get into a car with that logic. Second, trees just aren't that ephemeral. People who live in a forest would be very aware of when they do or don't fall (or more problematically, drop large branches.) It's not as straightforward as just avoiding storms or…
The logic isn't applicable to any set of risks. As deadly as cars are, the risk of car crash death is much, much lower than 1/5000 per trip. It's probably closer to applicable to being a drunk driver, and "you would never operate a car drunk" is pretty accurate for many people.