The rapid Taliban victory in Afghanistan has provided a boost to extremist groups and terror networks and hastened an intelligence vacuum that US officials are now scrambling to fill.