Turbulence in the tech sector underscores the importance of a more diversified portfolio.