In the mid-1980s my dad (PhD EE) talked me out of majoring in Computer Science initially because "you'd be a glorified typist". Glad I eventually switched to CS.
In the early 1990s, it sure felt like there was a limited market for robotics, machine learning, AI, etc. It was mostly industrial robotics and assembly line inspection cameras.