It's never been illegal to produce small cars in the US. It's a tragedy of the commons that the more over-sized cars on the road the more intimidated the average driver and the more compensation in the sizes of other cars to "keep up". Over-sized SUVs and trucks aren't penalized
enough for their domination and essentially destruction of the commons space.
That's also what fuels some of the demand for high-margin cars, because of the perverse incentive that over-sized delivers higher margins. People will be too easily convinced to pay extra (generally at linear relationship) for size and there's not a linear relationship in size versus margins.