I went to college for graphic design, so I've had a chance to watch graduates over a 10-year period after their graduation and notice some patterns related to burnout. If you're looking for a good recipe for burnout and career change, try to follow as many of these steps as you can:
In this situation, sooner or later a new technology or a new way of doing things comes along and now you're part of the old guard without the time to update their skills. You may be let go, you may quit, but in order to change your life you more or less need to stop working, re-train in a new skill and try to find new work.
If you want to avoid burnout, try doing some of these things to stay flexible:
What happens in a lot of places, from the employers perspective, is that instead of hiring employees for long-term success, where you invest time and money into nurturing and growing the worker in a powerhouse that benefits your company for a long time - instead some employers would rather squeeze every bit of value out of employees and then discard them and hire newer juicier employees to squeeze value out of. Burnout is what those employees feel after they've been squeezed dry.
So another thing you can do to help avoid burnout is make sure your boss is investing and growing you, not squeezing you dry to be discarded.
One last one:
Creativity is like a well, and every day you are working you are drawing water out of that well. If you don't make sure the groundwater is replenishing the water in the well, eventually you are going to hit rock bottom and run dry. To replenish your creativity you need a daily diet of inspiration.