The tech sector has a record-high market cap of over $23 trillion, a 37% weighting in the S&P 500, the largest percentage ever.