I like the similarity, but you have to make it more honest:
You're a writer, but don't have a good typewriter. Apple is willing to lend you one for free. The only issue is that if you then want to sell your book, you have to sell it through Apple's store. If you don't sell a single copy, Apple won't charge you for the use of the typewriter. If you sell a lot of copies, Apple gets a cut, both for the book being in their store (publicity) and the use of their typewriter. You're still allowed to use different typewriters, and you can even sell books written on a different typewriter in Apple's store, though they'll still take a cut.
The only part where i have a problem is the exclusivity. Apple may own the typewriter but you own the words that you write. I think Apple may have a ground to charge you for using their typewriter somehow, but restricting where you decide to publish your work goes far, very far.
In the end, it's a matter of being in agreement with the contract. I doubt anyone reasonable would accept such terms willingly - an author wants to spread their works as much as possible, and not limit them to a single marketplace.
You're a writer, but don't have a good typewriter. Apple is willing to lend you one for free. The only issue is that if you then want to sell your book, you have to sell it through Apple's store. If you don't sell a single copy, Apple won't charge you for the use of the typewriter. If you sell a lot of copies, Apple gets a cut, both for the book being in their store (publicity) and the use of their typewriter. You're still allowed to use different typewriters, and you can even sell books written on a different typewriter in Apple's store, though they'll still take a cut.
Doesn't sound terribly unreasonable to me