A pilot safely ejected before a fighter jet crashed near a naval air station in California's Fresno County, officials confirmed.