This was a couple of years ago - I ordered replacement computer parts to get a failed laptop up and running for a critical timeline. The parts didn’t arrive so I had to search for them and over pay locally. Amazon issued a full refund and told me to keep the parts since they were already in transit.
Not sure if the story would be the same if the items were not sold by Amazon directly, but instead via the marketplace.
They don't really have to do anything. I have no power to compel any action from them and I live in the US so it's not like I can expect the government to enforce the rules either unless Amazon starts pissing off other rich people or starts hurting a whole lot of people a whole lot of times.
My only real recourse is to stop purchasing items from Amazon which stops future problems but doesn't do anything to fix what already occurred.
Between actions like this and increasing prevalance of counterfeit items on Amazon an increasing number of people in my social circle are limiting their purchases on Amazon to commodities like toilet paper and buying anything else where quality or timeliness matter in other stores/websites
Why don't you just buy this at the store in town? It's cheaper and probably takes less time to just throw that in your cart while at the store anyway. How much time do you save by buying that online?
If a market shows up in the development near my building then I don't know if I'd even get those commodities from Amazon anymore