I don't know. I have several Magic mice, and I switched them between various computers often enough that I don't know which computer the broken one came with. The oldest one is probably from 2016.
I have several Magic Mice, including the one that still runs on the battery. I never had any of the batteries going bad - my oldest one is 5 years old at least still goes like a month on a charge.
My Magic Mouses battery only lasts for 5 to 10 minutes... if I could use it while plugged in I could still use it. As it is I can just toss it.