Then you throw in Amazon Shopping ads (aka Sponsored Products) and the shelf space metaphor gets muddled further, because it's like as if every store visitor saw unique and different endcap displays and shelving ordering. There is less individual tailoring to search results than you might expect on Amazon (especially compared to information search engines like GoogleBingBingGo) but it is still a factor.
Then there is the factor of endemic counterfeiting in some categories, so the sketchier the listings are the more likely you are to just buy a counterfeit product, which would never happen in a typical brick and mortar retail shop.
IMO Amazon's private labels are so minor and make up such a small portion of store sales that it ranks very low on the scale of things that Amazon does that are morally/legally questionable.