> what stops a big tech with enough money for using a model to generate millions of trivial patent
It requires a yearly payment and can get quite expensive [1]. There are application, examination, issuing and publishing fees for each patent. In contrast, publishing ideas online is free.
[1] https://www.uspto.gov/learning-and-resources/fees-and-paymen...