I'm thinking that a lot of the people commenting might work in pretty homogeneous environments.
I work with people from almost every group, and from every background. Calling people out on this horrendous behaviour maintains a safe work environment, and helps eliminate workplace toxicity. You can't insult a group without also insulting a coworker. Work culture wise, even if they aren't the target, people get very angry at the people who talk like that. "Why would you say that about Nimmy? Nimmy's awesome!". People should be able to earn their livelihoods in peace, imo.
At my job, if you insult a coworker through bigotry, you can expect (at minimum) a long talk with HR for the first offense. (Our HR department is also diverse.) A manager was just fired a few months ago for being bigoted. The best part? NO ONE misses them, not even the company a-holes.
Even from a completely corporate standpoint, it makes sense. You really don't want that kind of reputation if you want to keep your investors or a family friendly reputation. Media would chew them up and spit them out if they allowed bigotry like that.