The lawsuit underscores concerns about racial bias in AI, which can lead to unjust treatment in law enforcement.