Perhaps who should tell them, and why do you think they do not know already?
China is building both coal and solar. My understanding is their main concern is keeping up with electricity demand, since they are at that stage at which people are becoming rich enough for the first time to install a lot of electricity-consuming devices.
There's a graph here showing that, as of last year, solar in China was not yet quite as cheap as coal but very soon would be:
Already Cheaper Than Gas, China’s Renewables to Undercut Coal by 2026
Nobody sensible imagines that countries are going to switch instantly and 100% from one type of generation to another. But the trend is very clear and the effects are obvious.