AM4 has been an amazing platform/socket. I wonder if AM5 will do equally well - if Zen 6 and 3d cache materialize for AM5 in a couple of years. Two consumer sockets in 10 years (will be 10 in two years) is extremely nice compared to the competition.
IMHO, just logically speaking... AM5 might live even longer. AMD had to go to AM5 because they needed to move to DDR5 and PCIe 5.0, they also gave it higher power. Looking forward, DDR6 isn't even really anywhere close to consumer market. PCIe 6.0 is out there but consumer hasn't even scratched 5.0. We have some SSDs and that's it. For everything else 4.0 is enough. And SSDs don't show noticable real world performance in client PC applications. So we're basically "just fine" with AM5 and connected tech.
DDR4 lasted about 6 years, for clients it started with Skylake, which was released on August 5, 2015. Alder Lake started DDR5 usage, and was released October 27, 2021. That would put DDR6 firmly in 2027, and at the second half.
Ryzen brought AM4 in March 2017 so it was late to DDR4 party. It lasted 5 generations (well, 5 series, 3 real gens from Zen-Zen3). AM5 came with Ryzen 7000 on Sep 27, 2022, so it too lagged almost a year on DDR5. We're now on 3rd series (though 2nd real gen, Zen4 & 5), so Zen 6 is 100% on same socket. And IMHO Zen 7 is highly probable. If pace stays the same AM6 with DDR6 might come around only by autumn/winter 2028 which gives us plenty of time.
I mean this is just guesswork and logic, but Zen 6 is 100% AM5. But as adoption of new memory standards and newer PCIe gets slower (in client computing!) I'd say we could very well see Zen 7 or something like Zen 6+ extend the life of AM6.
Do note that we got new CPUs for AM4 just recently, so it will live and have sales even 8 years after introduction. Similar life would extend AM5 sales deep into 2030!
Anyway, I don't expect AM6 anytime soon.