Apple Music isn’t supported by WiiM devices, and the best you can do is use AirPlay to send the output from the Apple Music app to your WiiM device if it supports AirPlay. Unfortunately, the WiiM ultra doesn’t support AirPlay so you’re left with Bluetooth as your only wireless option.
Due to Apple policy, not many non-Apple devices support Apple Music natively.