Go back to 1957 and the film The Invisible Boy. Despite the title and obvious plot it harbors serious questions about AI. And even a King Features Mandrake the Magician comic series in Hearst papers and a moving giant computer called Goliath. The warnings have been out there for a long time.
Isaac Asimov’s ‘Foundation’ series...............