That's the great irony
They are trading one form of lock-in (flash, java) for another which they can push much harder since it doesn't involve relying on a third party outside of Apple's campus.
I aplaud them for discouraging Flash and Java RE but can't agree with the effort they put into removing choice form the end user.