Andreas Malm’s ‘Fossil Capital’ unearths the origin of capitalism’s attachment to fossil fuels but finishes with the shallow outlook of ecosocialism