I have personally fixed this twice on bikes for co-workers.
Both “cardboard box shipped” RTW bikes at the budget end of the spectrum. As mentioned earlier, the forks turned round and bars strapped (with stem attached) to the top tube, so they minimise shipping volume.
Unfortunately these are then put together by people who have probably not seen a bike in a decade, and say “ooh steering is sharper than I remember”
Just seems an area where we are ripe for an EU directive requiring a keyway to be placed in the steerer tube / stem to prevent this…