On the positive side the Taliban generally lack the technical skills and spare parts supply to maintain any of that equipment more sophisticated than trucks and small arms.
Maintenance for modern military gear can be quite expensive and challenging. My armchair analysis thinks that it’s more likely this gear would be sold to other interested countries if it was captured.