But the latter is mostly extra interpretation of motive.
Essentially, for some "let's tell the story of a young female Jedi" is virtually indistinguishable from "first off, we should have underrepresented minorities as our heroes."
From example, you brought up Force Awakens. Here's Abrams with one of
his focuses for the film:
Some read that as pandering to a specific demographic and those folks will always read it as that. That's not a problem. People worry about intent (which is largely guessing without direct comment) and not about
execution. Execution is what matters.
Black Panther is one of the larger black comic heroes.
His creation?
You could call the tokenism. You could call that going down a checklist. That's how most of the diverse characters we have today were brought into being. To be diverse is always going to be a specific choice. The idea is that you step outside of your comfort zone and tell a new story or relate a new experience. If you do it well, you've added a new diverse character or story. And that's awesome.