When it comes to keeping employees happy, Apple Inc. appears to be taking some inspiration from Google Inc.

Earlier this year, Apple told some employees about a new initiative called "Blue Sky" that allows a small group of staffers to spend a few weeks on a pet engineering project, according to three people told about the program.

It is a...