Viewing people as dispensable is indeed a justified apprehension at the workplace. Nevertheless, arguing the unethical nature of incorporating artificial intelligence disregards the whole scope of the issue. It makes an appeal to emotion since it uses the audience's emotions rather than ethical values to convince people and assumes "Yes-Man" fallacy, which is a false assumption that people will resist any inappropriate order from their corporation due to the pressure they have to face.
Indeed, technology takes away the essence of being human but adds an extra value by making humans overcome mundane tasks such as writing syntax boilerplate. Moreover, people working under excessive pressure tend to reduce their work's quality to the extent of meeting unrealistic deadlines while AI can always be consistent with high-quality work.
The implementation of AI should not be interpreted as depriving humans of their dignity as people but as enhancing their abilities. Developers get an opportunity to concentrate on more significant issues, such as architecture and innovation. In the same way as any technological revolution transferred physical activity to machines, making humanity advance its standard of living, the implementation of AI in software engineering solves the shortage of talent and promotes its advancement. Using AI allows small companies and startups to participate in the creation of software that could change lives significantly.