I bought my daughter a New MacBook Air 2020 M1 and after an update it started to automatically open programs on its own and swipe closed open programs and apps without touching the trackpad. Also the space bar stopped working and the escape button malfunction randomly. We took it back to the Apple store and they erased the MacBook and gave it back to us reinstalling the operating system over my protests. Well it started doing it again, so I did a lengthy search and found a few mentions of shutting off Siri and disabling the keyboard accessibility shortcuts keys if enabled. Apparently these functions can cause all of these problem. After I turned off both settings the problem was fixed. I wanted to post this so that if this occurs to someone else they can find the fix. Apple wanted to replace the keyboard and trackpad after sending it away for several weeks. NOOOO!