Pointing to a few districts in California and DC is like pointing to Massachusets and saying “see, white people vote democrat”. You have to look at the aggregate, not a few cherry picked areas.
The twenty wealthiest districts in this country have Democrat reps. This is not cherry picking. Look at Barones almanac of American politics and you will see that these high income places are more and more electing Democrats.