When you're paying the costs for all that SW work, you can't possibly compete with someone else who can grab exactly the same product and slap it on devices at the same price (or cheaper) as your device.