That may be true for bedroom developers, but it's just not true for the great majority of people or companies making money on app sales. Consider how many of them rely on cloud infrastructure. Those are not sunk costs. Consider also how necessary it is to market your apps, pay your staff, etc. Also not sunk costs.