Apple has purchased an unscripted television series based on the highly popular "Carpool Karaoke" segment from "The Late Late Show With James Corden," reports Variety. The upcoming television show will be distributed via Apple Music and is said to be seen as a way to "drive online activity" for the streaming music service.

It is not clear how closely the "Carpool Karaoke" show Apple has purchased will mirror the segment popularized by Corden. On The Late Late Show, Corden drives around and sings hit songs with celebrities and public figures that have included Michelle Obama, Selena Gomez, The Red Hot Chili Peppers, Demi Lovato, Gwen Stefani, and more.

Apple has licensed 16 episodes of the show from CBS TV Studios, which will be executive produced by Corden and Ben Winston.

According to Variety, the Carpool Karaoke show sparked a bidding war between multiple cable and subscription video outlets due to its success on The Late Late Show. Apple's Eddy Cue called the upcoming show the "perfect fit" for the Apple Music service.

"We love music, and 'Carpool Karaoke' celebrates it in a fun and unique way that is a hit with audiences of all ages," said Eddy Cue, Apple's senior vice president of Internet software and services. "It's a perfect fit for Apple Music -- bringing subscribers exclusive access to their favorite artists and celebrities who come along for the ride."

Apple has been making its first steps into original television programming as a way to promote its growing services segment. In addition to Carpool Karaoke, Apple is also working on "Vital Signs," a dark semi-autobiographical drama starring Dr. Dre, which will also be used to promote Apple Music. "Planet of the Apps," another TV show in the works, will serve to promote the App Store with stories about apps and the developers who make them.

In a recent interview, Apple iTunes chief Eddy Cue said Apple is "not trying to create original TV shows" to become a Netflix or Amazon Video competitor, but will "help" producers on projects that are designed to promote its existing products.