Former President Joe Biden took aim at President Donald Trump and Elon Musk during the first speech of his post-presidency.