Isn’t this just how making a product (any product) works? If you’re a small company and you don’t have a patent over the general concept of your unique product, another larger company can swoop in and make the same thing and run you out of business. It’s pretty much why parents exist.
(Mind you I’m not a fan of general software patents, but that’s what’s needed if you don’t want this to happen to software.)