A robot will lack that touch ,nor sense that a dog can provide.
Dogs make nice companions. The nephesh נפׁש animals were created as companions for man. They are inexpensive if you train them yourself. $150,000 if someone else trains them for you.
Who says they will be cheap?
Depends on whether they can be mass produced by robots in a factory.