Car shares with colleagues (paying for petrol & repairs proportionally), motorcycle, or cycling, or request to wfh if your job allows regularly/boss will permit...
Oh, to live in such a perfect world!
I live 40 minutes drive from my job. There's no public transport and no possibility to car share as nobody else from my work lives within half an hour of me. I suppose I could get a motorcycle but then how would I do things like get a food shop on my way home, or take the dog to the vets in the next town? I'd need a car as well so there's no point paying out for two vehicles for one person.
I certainly couldn't walk or cycle 25 miles each way - especially not in the depths of winter on unlit, un-treated, single track rural roads, nor could I work from home as I'm the manager of a shop, so I have to physically be on site to do my job.
Now, if I lived in a city or in a town that had buses that ran more than twice a week, or trains that ran before 9am, then there would be other options, but as it stands, there isn't.