Stop using esoteric tools and trendy frameworks and use more robust solutions. That might prevent the burnout.
Take microservices for example. Classic cargo culting development of what Google and Facebook are doing, but usually without a dedicated staffing team of hundreds. No wonder devs are burning out if they have to learn how to run a k8s cluster where a simple binary would've sufficed.