Uber Technologies reported stronger-than-expected earnings and sales, with the ride-hail company touting accelerating demand.