Cranberries are a Thanksgiving staple in many U.S. households — and scientists hope AI can help keep crops abundant and affordable, despite climate change.