I want to emphasize your point. As a basic matter of valuing humanity qua humanity, this holds even if the AI could be shown to make the decisions more accurately than a human could.
In fact, especially in those circumstances, if we take the warnings of X-risk even slightly seriously.