The midsize sedan was once the quintessential family car — and one of the most competitive segments in the U.S.