The Apple TV series "The Studio" has an episode (episode 7) that parodies Hollywood execs tying themselves in knots to try to have diverse casting that just ends up spiralling out of control and getting progressively more cringe.
On the note of females in Star Wars, I'm reminded of the 2015 SW Battlefront game in which Leia would periodically say "Help each other!", a line she never spoke in the films. With that line I imagine a room full of dude writers in a board room saying "okay, we have to give this girl character some lines. What would a girl say? Maybe something like 'help each other'?"