Most companies file patents for various reasons, even eithout actually having the invention implemented. Often times, there is compensation for the employee in case one is filed
Anecdotally, it does seem like most of the big tech companies do this. It’s a side effect of the “first to file” rather than “first to invent” system in the US.