Little ability to invest or plan for in the long term Is one of the biggest failures of capitalism. An example is the transcontinental railroad. That railroad was worth building, and unlike a lot of ventures, it could hardly be more obvious that it would be a huge boost to the economy and the nation, yet even with that the market could not raise the money necessary to finance the building of it. By the 1860s, the transcontinental was shifting from a dream to concrete plans, the technologies needed for steam powered railroading were proven, with 30 plus years of experience and refinements and a vibrant and expanding railroad network in the eastern US demonstrating daily its usefulness and value. Yet the market couldn't raise the money needed to build the transcontinental. The government had already scouted potential routes at public expense, but the market still couldn't do it. The government then helped out with a massive sweetening of the pot by loaning the railroads land along their routes, if only they would build them. (Prior to the Civil War, the government also hindered the effort thanks to factional fighting over where the route would be.) That was finally enough to get the railroads started. But they still resorted to all kinds of blind optimism, and outright cheating and financial trickery to disguise the true costs of the endeavor, lying even to themselves. The government also hugely underestimated the cost. Still, the railroad was worth it.
Another massive infrastructure project totally worth doing was the Panama Canal, and once again, capitalism was not up to the job. Government had to pony up and guide the entire effort, with capitalistic businesses serving as mere contractors. Somehow no land transport link has ever connected North and South America, a failure of political systems as well as capitalism. Today, would it be worthwhile to put a railroad tunnel under the Bering Strait? Yes, with a few caveats. But it's not happening, neither capitalism nor democratic government is up to the task.
Space exploration is another area that capitalism has, so far, been unable to do. The idea of a corporation, perhaps Apple or Microsoft or Exxon, ever landing on the moon or sending a probe to another planet, is improbable despite their wealth and size. A few corporations such as Scaled Composites are trying, but so far none have had more than limited success.
And finally, doing something about a problem has been another weak point. What are we doing about Climate Change? Business has largely washed its hands of the matter. That's someone else's problem. Some businesses have even been crazy enough to run a propaganda campaign to deny that there is a problem.