Depending on how you make the journey, it isn't necessarily wasted.
For about a year I commuted around 30 minutes by train, from a station <5 minutes walk from home, and <5 minutes walk from the office. I liked reading books or the newspaper in the morning, and the same or staring out of the window on the way back.
It was a good transition between work and not-work. Driving requires too much concentration, cycling is somewhere in between, and working from home doesn't have any of this.
Every few months, generally if I feel I've been really unproductive, I'll walk home from the office (~50 minutes) just to enjoy the walk.