Apple Inc. is building a significant capability to design its own computer chips, a strategy shift that the company hopes will create exclusive features for its gadgets and shield Apple's work from rivals.

The Silicon Valley trend-setter has been hiring people from many different segments of the semiconductor industry, including engineers to create multifunction chips that are used in cellphones to run software and carry out other chores.

Apple...