Uber reports a $1.78 billion loss as its food-delivery business outshines rides for the first time