An AI app is helping diabetics count carbs with photos of their food – and major health care insurers are buying in