The ecommerce giant is also bringing ads to ChatGPT and Microsoft.