A bipartisan spending deal to avert a shutdown was on life support on Wednesday after President-elect Donald J. Trump condemned it, leaving lawmakers without a strategy to fund the government past a Friday night deadline. Mr. Trump issued a scathing statement ordering Republicans not to support the sprawling bill, piling on to a barrage of criticism from Elon Musk, who spent Wednesday trashing the measure on social media and threatening any Republican who supported it with political ruin. It was not yet clear how Speaker Mike Johnson planned to proceed as the package, which was stuffed full of unrelated policy...