I have a SP7 and a SP7+ that both behave exactly the same with the trackpad giving up the will to live randomly. Thanks to the other participants in this thread, without the stories I would not have identified that it clearly happens when I am charging the computers via my Dell 65W USB-C charger. It's handier carting around a USB-C charger than it is a proprietary plug charger. Now I'll need to add the Surface charger to my bag as well.
As eluded to by others, the trackpad is definitely very susceptible to something electrical that's going on... the keyboard not so much as it continues to work flawlessly. I also have issues when my Surface is plugged into a Dell USB-C dock as well (I had to think back to times where I've reverted to using the Type Cover even though I had a keyboard and mouse on the dock... but its definitely happened a few times!)
Having two devices to try different Type Covers on has been great... its allowed me to conclude that the touchpad is just utter trash no matter what the combination.
I've had an ongoing ticket to get *something* replaced by Microsoft, but it sounds like I just need to take the original chargers out of the box and use them instead.
I am due to get a SP8 next week... I wonder if it'll be 3 from 3.!