Uber reported a loss of $708 million in the first quarter, and finance chief Gautam Gupta is leaving.