Both projects succeeded because they were made high national priorities, were well funded, and a "critical mass" of the best and brightest were recruited to get the job done. I don't think there's any reason to doubt that we could have practical nuclear fusion power technology in a similar time frame if the political willpower is there to give it the same high priority status that the Manhattan Project and Apollo had.
The power production by fusion in the core varies with distance from the solar center. At the center of the Sun, theoretical models estimate it to be approximately 276.5 watts/m3,[41] a power production density that more nearly approximates reptile metabolism than a thermonuclear bomb.[note 2] Peak power production in the Sun has been compared to the volumetric heats generated in an active compost heap. The tremendous power output of the Sun is not due to its high power per volume, but instead due to its large size.
Fusion generators seek to harness this power where temperatures exceed millions of K. And then we use magnetic "bottles" to hold fusion in. The main problem is how to insert more material without breaking containment. As far as I can tell, it's always going to be 50 years away. I'd say that micro-singularity reactors are 'closer' than fusion.The nifty thing about being a star is that you have this massive gravitational force available as your containment.
No matter how we do fusion, we'll likely need containment, and it's a vastly harder problem than "put enough fissile atoms close enough together to sustain a chain reaction." Let's face it - the big reason that fission reactors are dangerous is that stopping a reaction is as difficult or often more difficult than starting it.