A long-time retail building in downtown San Jose has been bought in a deal that could bring a pet care center to the site.