I think OP is just thinking of “cost” to mean capex. Whereas most real-world cost evaluations consider capex, opex, and opportunity cost, among others. Something having low cost but low margins will usually have a large opportunity cost, which increases the total real cost.