With TNG, a much more popular show that was cheaper to remaster, if posted figures are to be believed, they are still millions in the red at this point.
Just looking at Blu-ray profits maybe. However, selling the HD licensing rights to HULU for only the first two seasons of TNG-R a couple years ago would have put CBS in the black. As an example, HULU just made a deal with Sony to stream
Seinfeld for $700,000-$900,000 an episode. That's roughly $138 million! Figure (at least) $100,000-$200,000 an episode of TNG-R (x 48) and CBS almost certainly made their investment back, not even taking Blu-ray sales into account.
They never would have attempted the project in the first place if they hadn't pre-sold it.