They already use these techniques to suggest things before you make the purchase, but it would be great to extend it over a long period of time, like you said. A few months later they suggest carpet cleaner or bags for your vacuum.
It's probably a pretty complex beast with the weight and inertia of a core system that's been continuously in production through 20 years of growth. They probably continue to invest heavily in it, the ROI is there, it's just a really hard problem for them at this point. Their engineers probably curse its limitations and would love to rewrite/replace old and outdated parts, and indeed there will be teams working on that, but those projects will either die out or spend so much time reaching feature parity with the bloated existing system that it ends up looking much the same.
I'm pretty sure that it's true that someone who buys a vacuum is much more likely to buy another vacuum. It may seem counterintuitive, and may not be true for you after you just bought a vacuum, but I see no reason to believe that Amazon's algorithm isn't working properly and giving Amazon a lot of value.
You'd think they'd have so much data on buyer behaviour that they could recommend you e.g. other cleaning products that vacuum cleaner buyers tend to buy like mops, dusters and sprays. I can't imagine how recommending you the same thing you just bought over and over that you're not likely to get again for years is going to yield the best results and even manually selected recommendations would do better than that but willing to be convinced as obviously it's in their best interest to be smart here. You'd think you'd even explicitly build in a rule in your recommender system not to recommend something that has been recently bought.
Another issue might just be that the recommendation engine updates almost immediately, go to the homepage after taking any action (browsing, buying) and it's already updated. So they might've gone for "good enough, but fast" rather than "accurate, but slow"
For example, you might return your first one and then want to buy a different one. Instead of letting you forget about it and then months later potentially buying elsewhere, they preempt you and offer new ones soon after.
This is obviously speculation, but I think Amazon could come up with something better if they felt it pressing i.e. recommending the same product category was no better than random products.