It’s a trope that’s supposed to show that google searches are biased in favour of black people. If you search for American inventor you get lots of image hits for black inventors. The real reason for this is that American inventor is a substring of African American inventor, so google shows results containing the superstring.
The odds that this is how their search operates are nil.
But it does operate this way, of course. It is just the same effect that causes "earth society" to mostly show results about the superstring "flat earth society"
Why would you assume that simplistic (and not fault tolerant) approach is why you get that result?