Prime Minister Benjamin Netanyahu has vowed to learn a co-pilot's motives and whether he had links to Iran after he tried to crash an Israel-bound flight.