EDIT: adding details:
You have to mobilize large interdisciplinary teams to come up with products that are inherently very hard to invent, and which, after all that, can easily fail a trail and never see light of day, or can then still harm or kill people even after approved, all while operating in an understandbly extremely regulated and complicated environment.
One example:
One of the many piles of documents that you need to submit to a national health authority _just so they consider your product_ (before you can release to a single "user"!), is thorough documentation of how you _plan_ to manufacture the product, if it were approved.
Just these text files can weigh _gigabytes_. Think how much effort it would take just to write something coherent that is so long! And of course, you have to get other teams to run a bunch of experiments to inform what to write.
And this is even before you are actually producing the product for release.
Oh, and maybe your product won't actually be approved, so all that goes to waste.
And that's just the beginning.
Because all of that excludes _any_ mention of the real deal, which is whether the product actually works or is safe. All of that requires its own experiments and documentation.
And all that assumes that decades of prior research actually led to some useful prototype where you can start.
And all that excludes any mention of ethical considerations like who pays for the research, what is a just price for a cancer drug - heck, whether you should even be trying to make a profit off of lifesaving drugs.
If getting to a point like selling your app called Whats App for $18 billion (or whatever it was) would require a walk down the street, then getting a drug to market is like leaving the earth, flying past the furthest planets, and then trying to reach another galaxy.