Technology can help doctors spend more time with patients, Health Secretary told, as UK embraces AI in healthcare