"Open standards like HTML5 and WebGL have slowly but surely replaced Flash, however, especially on mobile devices. (Remember that late Apple CEO Steve Jobs wrote a long note about why iOS devices didn't support Flash back in 2010.) Many websites use these standards for their interactive elements instead of relying on Adobe's proprietary tool."
You can't believe everything you hear a CEO say. The main driving force behind Apple not wanting flash on their mobile devices is because it would have created a pathway for competition to their own App Store. By blocking flash it affords them almost complete control over customer consumption on their devices. Google learned this the hard way, and eventually followed suit in order to make more money after initially using the whole "our devices run Flash!" selling point to get people to jump on board.
Anyway, the flash run time is still going to be supported for years to come because it's what is used in Adobe Air. Just because it's not going to run as a plugin within a web browser doesn't mean it's just going away. Many desktop and mobile apps alike still run using Adobe Air and will probably continue to do so because of how easy it is to produce Flex applications. Simplicity and power make the programming combination of actionscript and mxml (ie Flex) fun to use and a go to solution for small apps and games. With Flex devs pretty much know what they are getting. With alternatives like HTML5 you have to deal with a hot mess of browser vendors/versions/performance/hardware/interfaces/support. And the security issues for Flash have never really been much worse than other comparable products. Honestly, most of these "Flash needs to die" articles read more like opinions than reports.