> 20TW is roughly current world marketed energy consumption. But, on Earth, solar power plants have a capacity factor around 20%, so you need 100TW of solar panels to produce those 20TW.
This confuses primary energy with work. 1 TWh of solar can displace multiple TWh of primary energy. This depends on details, of course; in some cases it makes sense to directly convert solar output resistively to heat even if that takes a second law loss.
This is a good point; in particular, electrification of transport will reduce the figure substantially, especially because car engines are usually less than 30% efficient. But electrical power is already about a third of the total, isn't it?