Apple is launching what it calls the Foundation Models framework, which the company says will enable developers to tap into its AI models in an offline, on-device fashion.