Uber will pay $100 million to settle the biggest legal threat to its business