You're right it's not the same, but the same thing with Gervais's presentation, for some it's offensive, for some hilarious. I support comedy in general, not cancel culture though.
There needs to be a balance of interests. I don't know where the line is and I don't want to set it, but misrepresenting minorities to the point you're furthering their marginalization is beyond the line.
There's a lot of nuance lost upon invoking "cancel culture" ("So you've been publicly shamed" is the one piece of media that seems to successfully avoid doing so), and I generally dislike the term because it is often used either in offhand comments by people who don't see the issue or by free speech absolutists that disagree the paradox of tolerance even exists.
That aside, invoking false stereotypes doesn't generally make for exceptional comedy.