The NHL actually did something interesting; they created a hockey league specifically for trans athletes.
So trans men and women compete with and against each other. I also think the hysteria of 'trans athletes' is far less common than the media makes it out to be.