In Germany, even if it takes the same amount of time, door to door, usually flying is half price, and isn't hit as often in delays as having your ICE stopped in the middle of nowhere, and then miss one of the two connections yet to come.
It is an interesting exercise to see how frequently people start using their Bahn app, trying to work around what might be their way to still make it into the destination, as the pause times between stations increase.