The last Italian plane has left Kabul with Afghan civilians, Italian diplomats and military officials aboard, said the foreign ministry.