Military helicopters and zipline experts on Tuesday rescued eight people, including schoolboys, trapped for hours in a stricken cable car high above a remote Pakistan valley.