Uber Technologies Inc. is buying parking reservation app SpotHero Inc., the latest move by the rideshare company to expand its customer base.