Mattel, CarMax, Instacart, Coke, and Snapchat are among the companies now using artificial intelligence tools.