What they need to do is split off the new competing services into a walled corporation (even new entity). And they play fair by the rules, so 30% tax even to them.
But it is standard practice for divisions to bill other divisions for work. I would be almost certain that Apple Music is already paying the 30% tax however since it’s internal it doesn’t really make a difference. Likewise splitting into a new entity does not change anything.
That's easy enough to circumvent.