It is a bit because Amazon started as an online business from day one and grew incredibly quickly. At the time there were no hosting services (“cloud” was a term that still referred water vapor) nor technology that could sustain that so they build their own.
Lidl is a much smaller system. I guess my surprise is they having felt the need to develop a flexible, generic enough infrastructure they can sell to third parties.