More than 1,500 lobbyists in the US are working on behalf of fossil-fuel companies while at the same time representing hundreds of liberal-run cities, universities, technology companies and environmental groups that say they are tackling the climate crisis, the Guardian can reveal.