As much as I agree that dogs are not equivalent to humans, they aren’t objects, either.
My mom had a friend who was saved by her dog. She went swimming in their backyard and became unconscious (seizure?). The dog jumped into the pool and grabbed her by the bathing suit and dragged her over to the steps where she kept watch over her until she came to.
There are many other stories just like this. And then there are all the service dogs out there. They are life-changing animals.
I’m not a “dog person,” per se (mostly because of the dirt, poo, and extra maintenance), but I have the utmost respect for dogs. They are incredible companion animals, and I have no doubt that many of them are fully capable of truly loving humans.
Still, I would not chose to save a dog over a human.