History tells us some people also had strong relationships with slaves as well. It doesn’t change the fundamental nature of the relationship being a massive power imbalance with no autonomy on one side. (I say this as a super happy dog owner)
Dogs don’t just survive, they thrive. In Romania the government resorted to mass killing of dogs because they bred so successfully. Also in poor countries and remote places where you wouldn’t expect there to be excess food for strays.
Dog ownership is very often slavery. The nature of the slavery is very explicit - the dog’s work is to sniff drugs all their life, or retrieve dead game, or guide people. In other cases you can read in this thread, a past owner has had a captive dog and abused them for who knows what reason.
To compare dog ownership to say, slavery or the like, is ludicrous. It's definite survival for the dog, and all too often survival for the human as well in the form of companionship, emotional support, and of course typical working dog duties.
I guess I understand your take from a logical, outside view. But not from someone who has ever lived with a dog.