Trillions of trillions (times a few more trillions or so) of series of "oops, I'm dead . . . whew! I made it afterall."
Accidental life. Gotta love it. Thank God for evolution . . . uh . . . whatever.
No, it only looks fortuitous in hindsight. We all have our gifts and our handicaps. We all make the best living we can, using our gifts. If some subset of gifts enables an organism to do well, we look in hindsight and say, "oh, look: if that creature didn't luck into those particular gifts, it would surely have died. How fortunate for it!" (Conversely, if it had happened to have died young, we'd point to this or that handicap as the reason.) But its success wasn't really as fortuitous as it looks: if its tongue had been slightly shorter instead of slightly longer, it wouldn't have settled on a diet of ants, and it wouldn't actually have starved.