Apartheid has a legal definition.  It doesn't not mean a situation that was exactly like South Africa.  And by the way, many prominent South African Blacks from the Apartheid era have stated that the Palestinians live under harsher conditions.