Another problem is that manufacturers overdrive components. To make bulbs cheaper they just use few more mA of current, that makes LEDs run hotter, more smoothing is needed and caps get hammered by switch mode power supplies.
Without changing light fixtures to be open, allowing circulation of air nothing really can be done for standard e27/bayonet bulbs. I have personally experienced this and had clearly seen the huge difference in LED bulb lifetime between light fixture - glass globe with hole in the bottom (no air vents at the top) and another one that was just a bowl with open top. Never had to change a bulb in second one versus 5-6 changes in globe one.