Legal and ethical concerns will be subordinate to technological advances, so they are largely things of no worry.
As for your question, just replace the machine learning algorithm with a human in the loop and ask yourself the same question, and you got your answer according to our norms as is.