Humor is often edgy and pushes limits. Comedians aren't public employees and are for the most part independent operators. As such, they can pretty much say whatever they think is funny. If people don't like what the comedian said, there is nothing to stop them from not attending the show.
So, by my taste, I don't much care for Eddie Murphy's routine. I don't go to his shows either. Haven't ever, for that matter.
You are correct that public attitudes have shifted but I think some people will still think what Murphy said is funny. If my boss played the routine over the intercom during work, then I'd have to say it crossed the line. If he repeatedly does so I'd have to make up my mind about what to do. I also interrupt people if they start telling a racist or insensitive joke. But that's different from going to a show. The cable guy can get a little offensive sometimes too. Don't go to the show if you don't like the guy's material.