German ride-booking services, often in collaboration with licensed taxi operators, have expanded rapidly, taking advantage of local regulatory and cultural know-how to succeed just as Uber has had to retreat.