Amid the US shutdown crisis, Elon Musk emerged as a powerful influencer, collaborating with President Trump to shape a bipartisan funding bill.