Apple wasn't early, they realized that they don't own the web, and therefore that web apps are much worse for them as a business than owning an exclusive App Store.

I dont think it was even that.

The developing for the iphone and app store creates lock-in. I believe the rich web page stuff was just to show the potential of what is possible before influencing developers to build for the app store.