Being passive can leave you with too much of a good thing.

Investors who loaded up on U.S. and Asian stock-index funds might be surprised to learn just what they own now: technology stocks—a lot of them.

Led by Apple Inc., Facebook Inc. and their peers, the weighing of technology stocks in the S&P 500 index has climbed to 23.8% as of Dec....