Apple has secretly tested a blood glucose app that can warn users of the impact of foods on their body — according to a new report.