I’m not really sure what you’re getting at here. This breakdown of market share has been largely the same for a long time.
Yes, Javascript inches forwards incrementally over the decades eating more of what was once exclusive to native applications.
But the failing on Apple’s side in recent years was never about technological capabilities or market share. The big companies were always using unholy messes of cross platform code for things like Photoshop and Microsoft Office. The problem is that there used to be an identity to Mac applications, an ethos to using it’s software which has slowly eroded as Apple’s eyes have shifted towards it’s other, more profitable, platforms.
I think John Gruber coined the term “Mac-Assed Mac Apps” as a name for these kinds of apps. They still exist and seem to be still profitable but I think there’s increasingly less appeal to become one. Also, the massive VC market of the last 15 years has exploded the “need” to grow and grow a lot. See About software funding and "organic software" for very interesting conversation about the influence of funding software on it’s creation