The US government is hurtling towards a shutdown ahead of the Christmas holiday, after President-elect Donald Trump and Elon Musk scuppered a cross-party deal to keep federal agencies running.