Question: is it ethical to replace human workers with automation?
Answer: As long as automation is treated as an assistant and not a replacement, any ethical problems are addressed. Automation is ethical. It is a tool, and as a tool, it cannot be morally ambiguous (just as a knife isn't morally ambiguous, even if it can be used for unethical means).