Having third party apps is very profitable if those apps are used by thousands of unpaid moderators giving away free labour.
And one of the main reasons they do this labour is because these apps make it very efficient to moderate a huge number of posts.
Reddit is not a profitable venture. It's a charitable one run by the users who prop it up.