Today the risks of artificial intelligence are clear — but the warning signs have been there all along