A judge struck from the record several statements from Tesla CEO Elon Musk attacking class action law firms and opposing counsel in the securities trial stemming from 2018 tweets announcing Musk had secured funding to take the electronic vehicle company private.