Musk has expressed concern about his security for months, as he has been promoting his plan to gut the federal government.