Elon Musk has starred at Donald Trump's first cabinet meeting as the cost-cutting czar and the president talked up their campaign to shrink the US government.