OK, thanks for the pics and clarification.
In the bottom picture, you’re looking at a 2000-5000 hour cap. It’s actually a decent version of electrolytic cap and longer design life than your garden variety (assuming design constraints are met). So in that case, it’s not a question of substituting in a lesser cap to save money.
Electrolytics have two main issues related to lifetime- one, they cannot tolerate much voltage ripple over time. Seems like an ironic issue since that is one of their primary goals. But excessive ripple will kill them prematurely. Two, they dry out over time and fail.
Most design efforts concerned with maximizing MTTF will disallow the use of electrolytics. Not long ago, we did a power supply design with a mandated minimum 700k hour MTTF and there was an exclusion for electrolytics in the design.
There have been huge advances in this area with manufacturers like Nichicon having extremely long life electrolytics now. But you have to design for them and keep the power supply ripple as low as possible to maximize lifetime.
To be fair, you’re not going to see anything like those caps in an LED lamp, let alone one that goes into a traditional light socket. Those will most definitely use solid dielectric or monolythic caps since the assembly will be encapsulated. And those caps do not have similar limitations like those above.