Because of this:
"Afghanistan may be sitting on one of the richest troves of minerals in the world, valued at nearly $1 trillion, scientists say."
https://www.nbcnews.com/science/science-news/rare-earth-afgh...
The Chinese will ask no questions, will do the work, and wont bother the Taliban with annoying issues like freedom and democracy. A perfect match.