You are reading too much into the "just as"
The author is trying to communicate equivalency in the seemingly paradoxical categorization of being both "acceptable" and "wrong" through providing examples of things which also fit this hard-to-grasp classification.
Just as? Are you kidding me? For one, animals kill and eat other animals ALL THE TIME. It's what they do.
>To disregard the pain and suffering of animal persons without regard for their interests - just because they're not human, is a form of racism. Peter Singer[1] calls it 'speciesism'.
That's just a word made up for that disregard. The invention of an ad-hoc word for it doesn't automatically make the disregard imoral or bad, much less "as bad as slavery".