Tesla, SpaceX and X Corp. leader Elon Musk ramped up his online attacks on Brazilian Supreme Court justice Alexandre de Moraes on Thursday, amid an intensifying political and legal battle between the tech billionaire and his companies, and Brazil’s highest court.