But analysts say the fossil fuel’s boom will probably be short-lived as the turn to renewable energy picks up