China will most likely try to get their hands on the mineral wealth in Afghanistan. Probably they will try to exploit the riches together with Pakistan. The latter would be a great intermediary.
Otherwise I can't see thousands of Chinese investors simply "visiting" Afghanistan to start investing and conducting dialogue with the Taliban.
China is going to build relations with the Taliban and get profits, while the US used force and got nothing.
What Afghanistan has to offer: copper, gold, iron ore, lead, natural gas, sulfhur, zinc, lithium, uranium - all these are among the main mineral resources that Afghanistan has to offer.
The Taliban certainly want to get rich and they're sitting on top of (and estimated) 1 trillion USD-worth of mineral resources:
https://edition.cnn.com/2021/08/18/business/afghanistan-lithium-rare-earths-mining/index.html