It's no secret that Amazon Retail is a client of Amazon AWS, or that Retail are involved in testing new services before they are public on AWS.
They are also not the biggest client Amazon AWS have.
It seems a no brainer that Retail operate making no profit while AWS is making the money when Retail need to pay AWS for services. Doesn't seem that to the arrangements other companies have with paying IP royalties to another company they own.