NHS doctors have been given an AI assistant that frees up their time with patients by making notes during appointments.