The UN says $5bn (€4.4bn) is needed to pay health and other essential workers to help prevent the collapse of basic services following the Taliban takeover.