The CCCP deserves most of the credit there. The reason those services exist is because China has lower wages and much higher density over wider areas. Home delivery has been available for 20 years in parts of the US, but service areas are isolated because there isn't enough demand. Prime Now is still loosing money because there aren't enough people to break even.
Same day delivery on TMall like buy in morning get in afternoon was available 6 years ago in China. Now you can fly oysters from New Zealand, cod from U.K. and delivered to your home in 24-48 hours in China also 5 years ago. Amazon still has miles to sprint before it reaches there.