Electrocardiogram tests could someday be paired with an artificial intelligence model to detect premature aging and cognitive decline.