China opening its doors to the West and an AI model taking over the stock market are among the ‘gray swan’ events that could rattle investors in 2024, research firm says