Sam Altman issues a ‘code red’ as ChatGPT’s lead narrows