Agreed. This is not acceptable.
I don't know if my problem has been fixed or not (I haven't had any issues yet today, but that doesn't mean anything because it's random.) but I might have a temporary fix for you.
After 4-5 calls to Apple Support, I finally had someone tell me to turn off any trackpad features I'm not using, such as three-finger-drag to bring up Mission Control. Just turn off anything you don't do a lot with your trackpad. So far, I haven't had any trackpad glitches since I did that.
If that turns out to be the fix, my theory is that the trackpad gets confused about what I'm trying to do (maybe if my palm grazes it while I'm also using multiple fingers), or maybe there's something in the code that's incompatible, so as the trackpad is trying to follow one instruction, it tries to do something else at the same time and it resolves the paradox by shutting down or glitching as we've all experienced....
Apple, this has not been a good experience. Don't make me switch to another manufacturer. Thing is, I love apple products, but it's not acceptable to buy a new computer and have to hard-restart it twice every day since it arrived.