At least with commercial aviation, unless you can’t get ahold of new planes they get replaced much earlier than that due to wanting ever more efficient planes and more stringent noise regulations.
The old clunkers still around are mostly used in sanctioned countries, or where a market failure has failed to provide a decent equivalent (757/767)