There is another factor from which America gained huge benefit: German and Japanese industry had been decimated. Without funding from the US they likely could not have recovered at all - but for many decades US manufacturing had effectively no competition. Toyota and BMW were slowly rebuilding from nothing - a process that took decades. It's easy for your factories to get rich, and pay people well, when the only competition is from other companies in your own country with the exact same legal and economic situation as you have.
No. WW2 ended in 1945. In the 1950's, Germany was already the second largest economy. A decimated, war torn country with no industry doesn't give you the second largest economy in the world. Germany's rebuilding took very little time considering the impact of the war, and the drain of intellectual value foisted on them by the US and UK governments, and it didn't take decades.
Japan took that second spot in 1968. That's 23 years to rebuild everything they lost, and become the second largest economy in the world. Between 1955 and 1973, they averaged 9% growth per year. That would be phenomenal for any country, much less one recovering from the impact of the war.
This notion that US industries simply had no competition for decades is simply very wrong.
Coming out of WW2, we gave veterans the GI Bill. Hundreds of thousands of people could now go to college who would never have been able to without that assistance. In 1956 the US would start the interstate highway system, which would be critical to moving goods around. And in 1961, Kennedy would give the country a direction with a decree to go to the moon.
We had the newly educated masses, the means for transportation, and a path forward. The innovation to come from that in electronics, material science, and miniaturization is what propelled the advances that most people today take for granted, everything from telecommunications to food preservation.
Now, unfortunately, we have people who revel in their stupidity, and no longer understand that we are better as a nation, instead of a mass of stupid idiots with no rhyme or reason.