There exists no software that has existed for 100 years, because software was invented sometime in the past hundred years. You can reductio ad absurdum that argument by saying, the week after the first software was written, that no pieces of software have lasted more than a week, and therefore very few pieces of software will last more than a week.
So very few pieces of software have lasted 40 years, because very few pieces of software were written at least 40 years ago.
I mean UNIX is still around for 30 odd years. It hasn't sunk. It carries tremendous technical debt, in terms of bad design, in terms of implementation bugs that need to be carried forward, etc.
My sense is that the more organizations that depend on a piece of tech, the more chance there is that it is going to age well, warts and all.