Family offices still bet on AI and health care even as deals slow down