The world is shifting rapidly to clean energy but still investing too much in fossil fuels, the IEA says.