It really depends on the film/game. Most of the time these days in seems pretty unfounded, though. Like, who gives a shit that there were no "people of color" in the Witcher 3? And as for women, until it becomes socially acceptable to see women abused, denigrated, and otherwise challenged both emotionally and physically on the level of men in media, expect to see a lot of things default to male characters. The alternative is a bunch of super invincible, annoying, untouchable and unrelatable "strong" women written by hacks trying to fill a quota rather than write compelling characters.

That said, mainstream AAA gaming is suffering from a generic main character epidemic. Mainly because the characters are written by hacks trying to pander to a perceived audience rather than write a compelling character...

Get better writers! Who a character is matters a lot more than "what" a character is!