Calling "black people" a "hate group" is racist because the definition of racism is characterizing people according to their race. Attributing any characteristic to a person based on that person's race is, by definition, racism. There are racists in any large category of people, but no characteristic can be applied across the board to all the people of any given race.
Musk's claim that "the media is racist" is not itself a racist statement, but it's idiotic beyond comprehension. "The media" is a huge category that includes every sort of political, economic, and philosophical leaning. There are racist media outlets, and there are outlets that are not. Characterizing all media as any one thing is a hard fail.
Musk has gone completely off his nut. I suspect that his long work hours and lack of sleep, possibly exacerbated by stimulant drugs, has damaged his brain.
BTW, I lived for a while where I, as a white person, was in the minority, and I encountered zero hate, or even unfriendliness, from any of the many black people around me. I had been apprehensive about being in the minority, but I needn't have been.