Replacing jobs with better or lower cost alternatives is not an externality.
Like if you switch from a low quality butcher to a higher quality butcher, you are not imposing a cost on the lower quality butcher.
You can not like it as a consequence of course, whether it is an externality or not.