If we only invested in things that already work, there would be no laser, transistor, generators etc. Before there was a “first car that moved slowly” there was a bunch of internal combustion engines that didn’t work at all. You just don’t remember them or care about them. But without that R&D there would be nothing to remember!
Did you know that one of the first internal combustion engines that was proposed used gun powder!