Indeed, the keyboard switch people have to produce a device that's manufacturable at scale for pennies per unit, and can be fitted in unforgiving environments by the untrained.
How is that comparable to a pacemaker in any way? They aren't made for a similar scale, price, or 'environment', and would only be installed/serviced/dealt with at all by anyone aside from highly trained specialists.
Intentions aside, I read it as a very narrow comparison of the relative durability - I'm guessing they weren't trying to devalue pacemaker engineering.