Google's CEO, Sundar Pichai, issued a stark warning about the potential for an AI bubble that could mirror the dotcom crash.