Earlier quoted context omitted.
Bike sharing services are great in those situations. You don't even need to carry your bike in the train. There is also public transit like trams and buses.
Gentle reminder that a significant portion of society is not able to carry out trips on bikes due to infirmity, disability, or needing to convey someone who cannot bike (e.g. small children).
Additionally, bike infrastructure works great for mobility scooters too: https://youtu.be/xSGx3HSjKDo