Just five tech companies account for a quarter of the US stock market’s blockbuster year