This is a really open question. It depends very much on the company and the roles of each department. E.g. if the safety department are particularly technical, it can make sense to keep them separate.
However, for me it doesn’t really matter. Even if two “separate” teams, there’s nothing to stop them working together on key areas while still maintaining their focus. In the end it depends what’s best for the business.