How do I enable "similar topics" for my community

This is native functionality - it will happen by default when you have enough content.

There is also functionality to automatically add “suggested topics” below the content of the last post. Again, that happens by default.