A record $366 billion was invested in California startups, fueled largely by the AI mania