I have about 10 that say that Star Trek had a restricted budget and was losing money to the point that Paramount tried to sell it to Gene Roddenberry, but it was too expensive for Roddenberry to purchase (about 150,000 dollars). It wasn't a wanted property, despite it having ratings that would make it the number one television show on television today.
IIRC, Paramount tried to sell "Star Trek" back to Roddenberry in the early 70s
, but he didn't think that it was a good investment at the time and it would have taken all his savings. After all, it was now a dead series and no longer in production.
And then it went into syndication, and endless early prime time repeats, where it finally built its huge audience.
"Restricted budget" doesn't mean shoestring budget. It was still a very expensive series to make.