Substantial weightings in tech groups such as SpaceX help lift returns after several years of lagging behind market