Hmmm, The sun
is about four billion years old. It took evolution about one
billion years to get to where is is today.
Intelligence is not necessary to be at the top of the food chain, example: Dinosaurs. Let us say the dominant species has a one in ten chance of being intelligent (overestimate)
In about eight to ten billion years the sun will swallow the earth, by which time the moon will have long escaped the gravity of the earth (it recedes at about an inch a year, but of course as time goes by this rate will increase)
All in all, if we wipe ourselves out then no one will arise to see what we have left behind(probably)