How to add (feat. Artist) to Spotify or Apple music in the title when there are two artists?

If you release your own music then you have to ask the platform on which you release it about how they want to have it.

If you want to know what to do with your own local collection, then I would assume that you can do what you want.
I am not sure whether

have control over such minute details how their creations appear on different services.

You will find a lot of threads that deal with moving the featured artists around - from title to artist and vice versa.
e.g. here: