Uber was close to finalizing a deal to sell a significant stake of itself to SoftBank.