Decades. Which I guess is too much for a world that's driven by "value engineering".
I mean, we actually have hard data for this. "Dumb phones" (even those that would run J2ME and had apps and stuff) can easily last for decades, and their buttons work fine after 5+ years of intensive use[0]. In contrast, it's rare to find someone whose smartphone lasted more than a year without getting its screen cracked, or three years without at least one screen replacement job.
--
[0] - I would know - I graduated high school around when the first iPhone was released. If you weren't of similar age at that time, then believe me when I say it: there is no tougher test for durability of a phone keyboard than having been used by a teenager back then. There was no Messenger or WhatsApp, phone calls were expensive, and videocalls were the thing for super rich, so all the friendships and romance of that age meant texting 24/7, hammering the shit out of the keyboard, day in, day out, for years. Never once heard of anyone's keyboard breaking under the load.