It depends on the setting.
If you did a find/replace on LOTR for "ivory" with "ebony", zero elements of the story would be impacted.
The world was designed in this way for a reason, by the author. It's the same thing the other way around: changing every character from black or 'asian' to white, if the story is otherwise unaffected, would be ridiculous.
"It must be to appease Twitter, can't possibly be because the actor had a good audition" seems pretty racist. If Amazon was afraid of Twitter, they'd be pro-union.
> It's the same thing the other way around: changing every character from black or 'asian' to white
That's not the same thing, though. The new LOTR series hasn't changed every character to Black or Asian. Nowhere near it.
But yeah, it'd be pretty weird if a TV adaptation _was_ word-for-word the same as the book, honestly. That's virtually never done, and rarely ends well when it is.