Chinese stocks are set to record their worst monthly performance in a decade, driven by investors withdrawing from suppliers to the artificial intelligence (AI) boom.