Black characters are added regularly to movies in order to increase their inclusiveness. The dilemma faced by screenwriters is that Asian markets won't see a film with a black lead unless that black lead is Will Smith. So the black person won't be the hero, won't be the love interest. You can't change the villain to a black person unless they're extremely well written and even then someone's going to whinge so your villain is almost never black either. This means your black person is either going to be the sage that guides your protagonist through their hero's journey ("Red" in Shawshank - really, 90% of all Morgan Freeman roles) or it's going to be the token buddy who dies halfway through Act II.
Movies are driven by economics, and the economics of movies are driven by foreign markets. This is particularly true of horror/slasher and scifi films. It's not that everyone in Hollywood is racist and sexist, it's that when you're making white movies for China, India and south Asia, they want to see white men being tough and white women being sexy (but not too sexy) and they have no interest whatsoever in your peculiar American obsession with Africans.