The beverage giant is the latest in a long line of brands to apologize for offensive ads, so why does it keep happening?