Only in a legal sense are they different cities.
I mean you could legally declare that my legs and upper torso are different people, but it would be silly.
I realise there's history and San Francisco wasn't always joined to San Jose by unbroken urbanity, but arbitrary legal structures should keep up with geography.