Humans do that too. Regulating AI won’t change that.
If you’re saying humans are consciously hiring people named Jared, they shouldn’t be allowed to provide hiring feedback.
(Or the AI was used incompetently. That's always an option. Was AI the reason why US universities discriminated illegally against non-blacks and non-hispanics? I really doubt it.)