Elon Musk has ranted against the Republican-led “big, beautiful bill” that narrowly passed the House.