Tesla has arguably a more clear path to a profitable future. Uber's path to profitability is arguably much more speculative and dependent on risky technology advances.
Uber and Tesla are not anywhere close to directly comparable.
As far as I understand, Uber does some autonomous vehicles R&D, but the required tech advances will probably not be developed by them ?