Ralph Roberts, who transformed a tiny Mississippi cable company into what eventually grew into industry giant Comcast Corp., has died. He was 95.

From having early insight into consumers’ entertainment desires to advising his son on multibillion-dollar deals like the acquisition of NBCUniversal in his later years, Mr. Roberts was a powerful force in shaping the American cable industry.

Mr....