Take one example of cellphones. It probably eliminated many "jobs" for people working in landline industries in the last decade or so BUT it probably added a lot more jobs in the telecom industry in general.
EDIT: based on some replies, I am not dismissing the fact completely that automation can have impacts on jobs. They definitely do but the point is that the number of jobs themselves do not dimish. It is the "type" of job that is changed which could surely be a problem for the displaced workers because they might not have the new skillset/experience ready to be employed.