A good straight razor can be used all life and be inherited. True, this requires certain skills. Ongoing costs are shaving foam and - occasionally - a shaving brush.
A good razor (the angle of inclination of the blade depends on the machine and it can be different) with ordinary blades will also last a lifetime, shave better than alternative options (except for a dangerous razor in skillful hands), and the purchase will be added to current costs 1 -2 packs of blades per year (more for those with sensitive skin). Doesn't require any special skills.
Various disposable and reusable alternatives (usually with more than one blade) shave worse because there is a fixed blade angle (overly "safe") and very little protruding edge. They also tend to be more expensive.
Electric shavers are expensive. During their life they have to be changed 5-6 times. In addition, there are running costs - nets or knives. You definitely need current (at least for recharging). They make noise. And, most importantly, they shave worse than any machine.
So far, an electric shaver hasn't achieved the same cleanliness as a regular one. I personally do not like the feeling of stubble immediately after shaving, as it does after an electric shaver.
Why is the ax market still afloat? Chainsaws are more convenient and economical.
I think because people find it easier to perceive simpler objects. Plus, non-electric ones are more practical and unpretentious.