Health secretary calls for medical and lifestyle details to be sent to doctors and AI to address ‘chronic disease epidemic’