The hijacking of an EgyptAir plane to Cyprus on Tuesday is not related to terrorism, the island's President Nicos Anastasiades said.