LeBron James is taking his talents to Burbank.

The basketball icon and co-star of the newly released movie “Trainwreck” is forming a production partnership with Time Warner Inc.’s Warner Bros. Entertainment that spans movies, television and digital content.

The deal pairs the world’s No. 1 basketball star with the largest television and movie...