Is AI doomed to be racist and sexist?