For example, I recently had to learn a desktop programming toolkit in Python, which I found very tedious and uninteresting. But knowing that I was doing it to help a team of engineers design a new kind of lightweight electric vehicle really drove me to put my heart in it.
Even when your project isn't aiming for such impacts, just putting (good) food on the table of your family can be a motivation I guess.
That said, what forces you to follow fads? I've basically stopped doing it when I got started with Clojure about 6 years ago and it's been fine. It does take some convincing to use that for a project sometimes, but the feeling of empowerment has not faded, and compared to JavaScript churn the still waters of the Clojure ecosystem are quite enjoyable. My point being, fads are not necessarily a fatality.