Pittsburg, CA seems to be a 57 minute train ride to Uber HQ and has houses rent for $1800. That kind of commute isn't shocking for any global city. You could save a lot of money living there and nabbing one of these big salaries, and ideally you'd only come into the office 3x a week.
I'm not from the Bay but seems you could hack together a much better situation if your office is in SF vs Valley, due to BART and more land east of the Bay.