You can consider it, sure. It happens, and it's a risk for many companies. But keep in mind this doesn't usually happen unless you've gained some kind of traction or product-market fit (tech giants have other things to do and will only take notice if it's worth noticing).
Does this mean if you make something good you'll die? It depends - on the industry, and the product or service and the nature of your IP.