President-elect calls previous deal agreed between ex-House speaker Kevin McCarthy and President Joe Biden ‘one of the dumbest political decisions made in years’ and backs Elon Musk in immigration row