It's my understanding that Paramount went from planned quarterly TV-movies (the first of which was called Planet of the Titans
) to the Star Trek: Phase II
TV series which would have been the flagship show of a new Paramount network, to retooling the Phase II pilot episode "In Thy Image" into a feature film after the success of Star Wars.
Star Wars is why we have movies. And snazzy warp-jump effects.