Yes, high heat is a killer for electronics. So, LEDs so have fans on a lot of them to remove some of that heat. And yes, the heat can cause them to dim/fail (not that I’ve ever experienced any dimming). Halogens and HIDs fail, also.
But, they are replaceable. 5 years down the line, replace them...