Powered by a focus on tech, Invesco QQQ has outperformed the S&P 500 index for nine of the past 12 years.