They're giving people what is essentially a loan, which they are uniquely able to give, to help them start a business, in the hopes that this will be an even bigger business. This is almost the definition of a win-win.
Customers are free to leave at any time or work with other providers, but they choose AWS because they give them more value.