The ride-hailing company said on Tuesday that it will accept an investment from Japanese tech investor SoftBank.