Public transport. No, seriously, the role that Uber/Lyft play in the US is filled by public transport in Germany. The only reason Uber/Lyft is needed in the US is because their public transport is (usually) terrible.
We don’t need Uber/Lyft in Germany, as we have public transport – and for the few times when you need a car to get you from A to B, you call a taxi, but those are correspondingly expensive.
Also, Uber/Lyft and their ilk are a plague. Not only do they exploit their employees (sorry, “independent contractors”), but they make congestion worse. Don’t use them.