Skills are gained through effort.
Automation relieves effort.
There's always a tradeoff, but because the relief comes immediately whereas the loss of skills manifests itself slowly, we rarely question the pursuit of ever greater degrees of automation.
Taken further specialization of labor does lead to individuals or nation states for that matter being totally interdependent on everyone else for survival. Is that not the goal though? How do we balance the control we cede to machines to the advantage of having less drudgery in our work or lives?