How Amazon Rebuilt Itself Around Artificial Intelligence