Your average normie has no interest in the hassle of selling their used stuff (which has, if anything, got harder in my 25ish years using eBay), nor of buying random used staff from anonymous individual sellers.
Etsy covers the arts & crafts coded goods (though much is now China dropship).
Amazon allows the big merchants to sell to normies who just want to click "buy" without thinking about seller rating risk, when something will arrive, etc. Basically most people have no idea they are buying from not-Amazon, because it says amazon.com and that's good enough. eBay never had the smarts to create that user experience.
Do they even do it nowadays? I was under impression it turned into an ordinary marketplace, probably with a bit more focus towards small/private sellers.
Recently I bought a chainsaw tool on eBay from China as I didn't want to buy a 6-pack for $10. I was able to buy a couple for about $0.20 more per unit. Sure, higher unit price and they'll be here slower but it's several $6ish saved.
The eBay search function isn't great, but it's vastly better than Amazon, where search results are polluted by large numbers of garbage sponsored results - this may be related to its success in these niches. (although in my case it's partly because I can avoid paying for Amazon Prime, and still choose things based on prices that include shipping)
I’m guessing investors don’t see much opportunity for growth in the online auction business to make it worth dumping a bunch of money just to take market share from eBay.