Obsessing over some socially unacceptable idea absolutely can be a manifestation of bipolar disorder for some people. Especially when one considers that bipolar can sometimes be associated with psychosis, and obsessive antisemitic/racist/etc thoughts are not uncommon in people with psychosis (famous example: Terry Davis, who I think actually even had a bipolar diagnosis at one point - it is common for people to initially be diagnosed with bipolar before eventually getting a schizophrenia or schizoaffective diagnosis as the psychotic symptoms become more prominent and enduring).
Kanye’s antisemitism is wrong and reprehensible. I can’t tell to what extent it is a symptom of his mental health problems, and I don’t think you really can either: neither of us is a mental health professional, and he is not our patient/client. But simply looking at a list of symptoms, and saying “X is not on it”, is a very ignorant way to approach the topic. Even if his antisemitism is partially due to his bipolar, that doesn’t mean he should just be allowed to get away with it, just like how a bipolar person who commits a crime in a manic state (sometimes happens) doesn’t just get away with it, although it may be appropriate to take that into account as a mitigating factor (as opposed to a “get out of jail free” card)
Similarly, I have no idea whether Musk has ASD. But ASD absolutely can make some people behave in a way which others perceive as being an “asshole”, so if he does have it, those behaviours could well in part be contributed to by it. That’s not saying that everyone with ASD is an “asshole”, or that a person with ASD has no responsibility to try their best to adjust to meet society’s expectations - but isn’t it obvious that a disorder whose symptoms can include difficulty thinking about social situations or understanding social rules, obliviousness to the thoughts and feelings of others, unusual obsessions, etc, can sometimes lead people to behave in ways perceived by others as being an “asshole”, even a failure to adjust one’s behaviour in response to that feedback?