If that's the only inference you can draw from that, you're not paying attention.
First, you need to compare actual output, not installed capacity. Once you take into account capacity factors, it's not looking so good any longer.
Second, if it were true that nuclear is being "out-competed", then nobody in their right mind would expand their nuclear capacity. Yet almost everyone except a few crazies and countries that are too small are doing exactly that: expanding their nuclear capacity.
Let's see who has decided to get into nuclear / reverse exits / expand capacity:
1. Italy just decided to reverse their exit.
2. Japan had decided to exit, and actually shut down their plants. They are now restarting those plants.
3. South Korea had also decided to exit, but not shut down any plants yet. They have reversed that exit. And are expanding.
4. Poland has decided to start a nuclear program, first 3 reactors are ordered, budgeted and construction has started at the site. There are a lot more planned. The vote for financing the new projects was nearly unanimous in parliament.
5. The UK is so incredibly unhappy with Hinkley Point C that they have just started work on 2 more reactors at Sizewell C, have sited another 2 in Wales and have a policy of expanding nuclear capacity by a factor of 4.
6. The US effectively built no new new plants since the TMI accident. They are now reactivating everything possible, are even planning to finish the two AP-1000s at Virgil C. Summer and have a goal of tripling their nuclear capacity by adding another 200 GW.
7. Sweden has reversed their exit and wants to build 10 new plants
8. The new government in Belgium has reversed their exit, has extended at least one (or was it two?) plant by another 10 years, is trying to save a few more that are/were due to be decommissioned and is looking to build more.
9. France had a ban on expanding their nuclear generating capacity beyond the currently installed capacity. This was lifted in March of 2023 with > 2/3 majority in parliament.
10. The Netherlands originally wanted two new nuclear reactors. They have now decided on 4 large reactors, in addition to the single small one they currently operate. This will be a 10x expansion of their nuclear capacity.
11. India is on track to triple their capacity by 2031.
12. China is currently starting 10 new reactors a year, and the rate is still increasing. Why aren't they doing more? Well, one reason is that nuclear power plants last for a really long time, currently estimated at least 80-100 years for most of the well-maintained plants. If you build 10 per year and they last 100 years, that implies a fleet of 1000 reactors. That's a lot of reactors!
France made this mistake, they built around 50 reactors in only 15 years, due to vastly overestimating electricity demand. The result was that they the nuclear industry they built up had essentially no plants to build for a good number of decades, and so that know-how and capability was lost and had to be re-acquired at great cost (see Flamanville 3).
Countries have learned from this and are pacing themselves. No need to rush.
13. The Czech Republic is betting on both large reactors from South Korea (the APR-1400, IIRC) as well as SMRs from Rolls Royce. In fact, they took a 20% in Rolls Royce.
14. Switzerland has begun the process of undoing their exit decision
15. Even Norway and Denmark are considering nuclear
16. The UAE, with ideal conditions for solar (desert), has recently completed a 4 reactor power plant, and is considering adding more.
... and so on and so forth ...
Why are all these countries expanding nuclear? Is the entire rest of the world stupid? Crazy? Only Germany knows what they're doing?
No.
What they know is that a nuclear + renewable mix is significantly cheaper and more reliably than any attempt to do 100% intermittent renewables, even if that were feasible, which is more than uncertain.
It is only (mostly?) in Germany where this crazy notion that nuclear and renewables are mutually exclusive has taken hold. They are not. They complement each other.