Conventional wisdom is a M10/M&P will need a tune up around 100,000 rounds. I've seen that figure mentioned fairly frequently and it sounds like a good benchmark to me. Surely some will encounter a failure before that (but not mean the end of the gun, just some required repair). And I'm just as sure some will easily surpass it and keep on shooting.
Back in the 1990s, when S&W forum was just a twinkle in someone's eye, we had usenet and rec.guns. A poster there was doing a project to wear one out. It had gone well past 100,000 rounds and was still in spec and shooting just fine. I forget his handle, but it might have been Pluspea from up in MN.
Keep in mind that ammo is much more expensive than wear and tear on a quality firearm. Here in the US where guns are easy to obtain, there isn't much reason to put that kind of usage on a single gun. We're spoiled and often find another gun to vent our frustrations on before we really burn one up. The most common thing that kills a firearm is abuse. We destroy the finish by carrying it in a holster (carry does no harm, it bringing it out and putting it back that takes finish off.) An even worse abuse is lack of lubricant. Not much is required, those of us who do lubricate our guns usually over do the process. Corrosion will also kill a gun in shot order. Round count isn't an issue.
A fine gun like a K22, if kept smeared with oil and transported in a gun rug, and cleaned after use, won't show any wear at all. I had a K22 that I bought with my gambling winnings back in the early 70s. I won the money on an office pool based on the score of a World Series game. I think I paid $72 for it at a local discount house. The guy across the hall from our apartment was a cop. He liked guns a bunch, and would often come over (or invite me over there) about every evening. On weekends we'd go shooting. One day of shooting was measured as a brick of ammo each. My father in law would often slip me a brick of ammo to burn, just to help finance my shooting. He had cases of it in his basement!
The best measure I've seen for round count in a 22 is the ejector rod. It doesn't take many rounds (like maybe 10,000) to remove almost all traces of blue. The rest of a gun, if cared for, still looks nearly new.
In my sordid past there have been gun writers who's words you could take to the bank. No more. When I read some of their drivel that I know from experience is wrong, I just ignore them and all else they write. The only thing that wears out on a K22 is the writers credibility.