The only solution I found was to stop using Microsoft Phone Link. Media picker still appears but always on the bottom of the battery usage list.
EDIT: no, sadly it didn't solve anything. I think media picker is actually the media scanner. Deleting a ton of pics has helped in my case, but it's still running a lot. After playing a bit with adb, the app is the Files app, with package name com.g...