Elon Musk sparked controversy as he appeared to do the “Nazi salute” during US President Donald Trump's inauguration ceremony when he addressed a crowd.