I don't believe most countries hold judges accountable for bad ruling at all even before AI era.
"Check and balance, except judiciary."
"Check and balance, except judiciary."
Only the king (at the petition of parliament) can remove a high court or appeal court judge, and that's only ever happened once, in 1830.