Elon Musk, the richest man in the world, has been a critic of President Donald Trump’s “big, beautiful bill,” views that in part triggered their public feud.