You’ve said so many things that are factually incorrect it’s hard to know where to start.
There are very few services on AWS that started based on what Amazon Retail used. Even today, much of Amazon’s infrastructure is not on AWS.
Lambda is also not built on top of Kubernetes.
The one service that I can think of that came from Amazon Retail is Amazon Connect. It was originally used as Amazon’s own call center. You can tell it wasn’t built specifically for AWS because there was no public API for automated provisioning and no IAC support for years.
Google’s infrastructure is also not built on top of GCP. Very little of Google uses GCP and it’s mostly unimportant things.