If you found a company that depends on Google APIs or products, that's a risk your company carries. I don't see why we need legislative intervention to mitigate such risks.
If I founded a company that specializes in manufacturing Pokemon toys under contract, and Nintendo (for whatever reason) pulls the contract, it's perfectly normal for the business to no longer be viable and to be liquidated.