Index funds and exchange-traded funds (ETFs) have added a record number of investment accounts in 2024, buoyed by the sectoral and thematic investing euphoria that has spilled into the passive space.