Artificially intelligent robot perpetuates racist and sexist prejudice