Andrew Bailey, governor of the Bank of England, has warned of a severe downturn in global stock markets if the AI bubble bursts.