Tenants, affordable housing groups and local governments will soon get first crack at buying foreclosed homes in California. A bill approved Monday by Gov. Gavin Newsom is designed to keep corporations from snapping up homes and letting some fall into disrepair as they did during the Great Recession.