San Francisco is a combined city and county (the only one in California), so its budget includes things that would be in county budgets for places like Los Angeles and San Jose.
For example, SF MTA is part of the SF budget, but LA MTA is a county agency, and isn't part of the LA city budget.