Index-tracking funds are on track to buy a large chunk of the shares sold in SpaceX’s record $75 billion offering. With more than half the U.S. market now invested by hands-off managers, benchmarks are distorting markets. It’s a recipe for buying high and selling low.

