Seems like a bit of conflation there. Chris Rock is an entertainer - specifically, comedian. They are a known commodity and offense is to be expected. Offense is not expected - or productive - in the workplace, and that's why the rest of us have to self-restrain in such environments.
That’s a fair point but it also underscores a deep irony.
Hollywood, or all of the entertainment industry really, is a workplace subject to standards of self-restraint (or just plain old fashioned good behavior if you prefer.)
The product of that workplace is various forms of art, be it films or jokes or song lyrics or whatever. Art in both practice and the law is almost completely unconstrained.
So the irony is for example a film set where normal standards of workplace behavior are expected, and the product of that workplace may be a film depicting extreme violence. Which is ok because it is art. And we might give an Oscar to that movie depicting horrific violence but then people have a meltdown over a real life slap on stage. While giving a free pass to the art that led to the slap, when that same remark would not be deemed acceptable in a workplace if said to a co-worker.
A question that hasn’t been asked yet: is the Academy Awards broadcast a workplace or an expression of art or both? What behavior standards apply?