Avoid the risk of expensive tech stocks while still staying in the AI trade.