I’m not sure I agree with the entire premise. Maybe it’s true about the cheapest bikes but that’s because bikes used to be considerably more expensive on average.
If you’re willing to pay the same (inflation adjusted) I think the overall quality is considerably better than 30+ years ago.