Warren Buffett’s sudden sale of a huge pile of Apple Inc. shares has come with a surprise silver lining for investors in the iPhone maker: Its influence in major stock indexes is set to be fully unleashed.