A car crashed into an office building in California but there were no serious injuries, according to authorities.