> If you pay the California rate then you will be putting way more money into salaries then needed, which could drown your company in hard times.
This doesn't follow. You can still be profitable by hiring people who add value, and paying them a consistent percentage for that value, regardless of location. Assuming of course that everyone is working remotely regardless of location, and time zones are a non-issue. (remote vs. local could have legitimate salary impacts, as well as time zone availability, due to potential increased burden on the business).
If your business's profit is based on the ability to exploit reduced living costs, then your business is at least partially focused on trading in salary differences (arbitrage?). That has it's own problems (like splitting your focus), but is probably OK as long as the margin you're making from it is lucrative. As this margin decreases you're spending more and more time trading in salaries and less time focus on your product. That's perfectly fine business wise as long as you're still making a profit, although at some point you may turn into an agency / recruiter (pivot?!?).
If however, your business's profit is based purely on providing a valuable product, you still benefit from a much wider pool of talent (thus reducing overall salaries due to supply) even without exploiting living costs. You can ignore location (assuming again time zone isn't an issue) and pay based on percentage of value. Plus you can still focus primarily on your product, instead of becoming a salary trader!