In general, the effort is not wasted if competition drives the products to be better and/or cheaper in the end.
Uselessly duplicated efforts due to secrecy are the problem patents were supposed to solve, btw.
Uselessly duplicated efforts due to secrecy are the problem patents were supposed to solve, btw.