Change hands

To be transferred from one person to another.

The pizza restaurant changed hands many times during the last several years.