Investments in solar power are on course to overtake spending on oil production for the first time, the foremost example of a widening gap between renewable-energy funding and stagnating fossil-fuel industries, according to the head of the International Energy Agency. More than $1 billion a day is …