Last numbers I looked at had nuclear much more profitable than solar, especially during winter, hence why China is currently installing 20 new reactors, with a goal for much more in the future.
5GW / year @ 90% capacity factor ~= 3 million 200W panels @ 30% capacity factor + 40-60GWh of batteries. It’s not completely equivalent, but they both need roughly the same amount of peaking power plants to make up the difference.
Plus Solar’s costs are front loaded, with China’s rapidly growing economy they can ignore decommissioning or even long term operating costs as largely irrelevant.