SAN FRANCISCO (Reuters) - Apple Inc has offered to replace faulty on-off buttons on the iPhone 5, a rare glitch that it said on Friday affected "a small percentage" of the previous-generation smartphones.