It was more "we built AWS to run our stuff and figured out we can sell it too".

While Azure feels like Temu clone of Cloud

actually incorrect. They figured they could sell unused hardware retail didn't need during non-peak, and retail could become more scalable. They went off in a corner with uncle andy for a year or 2 and built the basics. Like 10 years later retail was actually using AWS and not something that pretended it wasn't on aws. MAWS (being on aws not bare metal) was like a 2012-2015 thing and took for ever for NAWS (native aws) to happen that wasn't apollo, tho amazon still loves apollo in many places. Kinda a dirty secret, retai wasn't on aws until after aws was really popular.