As some of the market’s biggest tech names lose steam, investors are turning to less crowded corners of the high-tech sector where growth and disruption remain alive and well. Defense technology is booming, and the future of the military is both exciting and frightening.