Protect themselves from what? Uber is under no obligation to charge you any amount based off of route, zone, etc. They can charge you whatever they see fit and pay their drivers whatever they see fit. If you don't like the charge, don't take the Uber! If the driver doesn't like the fare, don't accept it!
In case you haven't noticed this is how ALL middle men make money. They charge more to the end user than they pay for a product.
Even your contracting example makes sense. You pay for a deliverable. Does it matter that it costs them less to get it to you and pocket the difference? Nope. That principle is the backbone of all commerce. You charge more than it costs you to deliver.