One word: margins.
Amazon has a gross profit margin of 50.3% and trades at a PE ratio of 34.
Home Depot has a gross profit margin of 33.35% and trades at a PE ratio of 19.8.
The difference is probably around a trillion dollars in market cap for Amazon.
Kind of a big deal.
This is why the hyperscalers are betting so big on AI. Without something huge and new that few others have the scale to compete with, their stock values are going to tank.
They're terrified of becoming Home Depot or, more likely, utility stocks (better with PEs of around 23-25).