The rout surpassed Ajax's previous worst result in Europe, a 5-1 defeat by Bayern Munich in 1980.