The UN and aid agencies have criticised the Gaza Humanitarian Foundation after chaotic and deadly delivery.