That’s actually not true. At all.
There are numerous crash issues that I’ve seen people experience and post about, meanwhile I think I’ve ever only actually crashed but two or three times. So just because the hardware is mostly the same doesn’t mean that bugs glitches and crashes all occur in the same frequency or at all. Just a modicum of knowledge regarding programming would tell you this.
Bugs and the sort are very often not dependant upon hardware at all, but rather a culmination of many lines of code influencing one another. This problem is compounded the more lines of code there are, and most modern games you’re talking millions of lines. This is why it’s a very common occurrence that fixing one bug can create another, or several.