Herman Cain, a business executive who sought the Republican nomination in 2012, had been hospitalized with the coronavirus in the Atlanta area.