Yeah, but if humans exist by the time the sun fails us, they wouldn’t really be the same species as us, and they’d hopefully have progressed to the point that they could escape the Earth.

You're saying we wont maintain tradition and our "humanity"?. I like to be a little more optimistic and believe in us as a species transferring values until the end.

Look at all types of mammal that exist, from us to platypuses to bats to whales. Evolved in a few hundred million years. Modern humans have been here for a few hundred thousand.

In 500 million years absolutely anything could happen (if we survive this century).