I don't know if they will, but an AI court system might be better than what we currently have.
If we dont destroy ourselves till then, sure A.I. Is a natural step in human evolution, machines might outlive our race somewhere in the future.
Social problems (racism against machines?) Will always be present for a few generations thought
why would we want them to? the risk of something terrible happening outweighs any precived benefits.
Because AI would remove the human element from the equation. AI doesn't have to be perfect, just better than humans.