Uber reported a $1 billion loss and a 20 percent rise in revenue in its first quarterly report as a public company, affirming the challenges the company faces to become profitable one day while spending heavily to fend off ride-hailing and delivery rivals.