That's not what Benjamin Franklin said....
Anyway, androids aren't human, even if they mimic human emotions. You can have a pet in the game, is that slavery? Dogmeat has a lot of emotions I'm sure, maybe he's not sentient as opposed to a humanoid, but then we're drawing an interesting line here aren't we. If something isn't sentient, it's ok to enslave it.