Investors take fright after the US financial regulator accuses Elon Musk of securities fraud.