Robots are capital. Real estate is mostly land. Capital produces interest. Land produces rent. These are different things.
However, if robots ever became fully autonomous and sentient, then owning them could be equivalent to slaveownership, and fundamentally immoral.
Slaveowners can be said to collect rent, because just like with owners of land titles, their profit comes not from production but from the government giving them privileges.