Investors are growing increasingly optimistic about Amazon.com Inc.’s position in artificial intelligence, lighting a fire ...