Heart rate is very correlated with health. So at the very least they can (illegally?) filter out unhealthy candidates.
It's also not a specific enough signal for the types of health conditions that require taking time off work. Assuming they could get an accurate resting heart rate, most of the time it'll just indicate whether the candidate does a lot of exercise.