All things have to end sooner or later, but we should be happy to see some 8's and some 400F's still grace the skies for at least another decade.
I think some late build 747s will be around for at least 20 and maybe 30 or 40 years. They may even outlast the B52.
The only airliner that has been in production longer is the Boeing 737.