Intelligence is not a genetic trait
Wait, where the hell did you get this idea? Racially? No, intelligence spans significantly from individual to individual regardless of race, but on that individual level, genetics have a significant impact on intelligence.
Not only that, but the movie makes no commentary on race whatsoever, throwing that in is solely your own addition.