Yeah, it wasn’t Apple that killed Flash, it was Adobe. It died the moment Adobe bought Macromedia.
Just think, if Adobe hadn’t bungled Flash or prematurely killed off Fireworks, they could be owning the modern digital design space right now, rather than desperately trying to catch up to Figma and Sketch with XD.