Tech is ailing while other sectors are holding up. How to stay safe and avoid the AI knife fight.