I don't get why Apple didn't buy them.
Read point six in Steve's "Thoughts on Flash". Apple isn't interested in actively developing web platforms because, as Jobs said,
We know from painful experience that letting a third party layer of software come between the platform and the developer ultimately results in sub-standard apps and hinders the enhancement and progress of the platform. [...] This becomes even worse if the third party is supplying a cross platform development tool.