Niching improves efficiency. It makes it easier to communicate your value proposition, find clients that are a good fit, makes it easier to get-up-to-speed on new projects, and ensures you can deliver on the projects you take on. If you're ever going to do a "productized service", you kind-of need to have a niche.
On the flip side, niching reduces the total market size of your customers (e.g. can't fulfill requests for mobile apps if you're a WordPress shop), makes it more difficult to transition to other domains if you're trying to get a job (pigeonholing is real), and it's boring to do the same tech or industry forever (personal opinion).