By knowing the customers business and needs better than the customer, and be able to convince them that the best product possibly conceivable is not a Frankenstein’s monster put together from “100 ideas gathered from the costumers, prioritised by a PM”, but an opinionated tool created by opinionated people.
Of course you need the right developers for this, not code monkeys or offshore outsourced companies with a time zone and cultural barrier to overcome…