The former chief executive of Uber Technologies Inc. has been quietly assembling a mini real-estate empire over the past two years, acquiring closed restaurants, auto-body shops and warehouses for use in his new ghost kitchen venture.