As homelessness reaches chronic levels in California, Apple and other tech companies pledge funds to fix the problem.