The deal keeps the division of Cupertino-based Apple as the exclusive home to Charles M. Schulz's beloved characters.