AI 'doctor' can automatically diagnose heart disease