Huh? That comparison doesn't make sense, since race swapping is something that happens in screen adaptations of the comics, so it has no bearing on what characters are created in the original comics themselves. Adaptations don't replace the originals, certainly not retroactively.
Even within a single medium, it's a false dichotomy to pit the two approaches against each other. Both are valuable in increasing inclusion. Sam Jackson as Nick Fury didn't prevent Black Panther or Luke Cage or The Falcon and the Winter Soldier from being made. Mehcad Brooks as Jimmy Olsen didn't prevent Black Lightning from being made or the Ryan Wilder Batwoman from being created. They're not competing approaches, they're complementary. If anything, more diverse casting in the high-profile roles can pave the way for getting movies made about characters who started out diverse.