I haven't looked into this deep enough, but my assumptions are that currently the supplychain for getting and installing these systems takes much longer than coal, which is a much more mature supply chain, and also not limited to China's production. If solar panels were as cheap, quick and available as coal, there'd be literally zero reason why people wouldn't use them over coal, but we know there are enough places that still use coal IE Germany.