That is true of some EU laws. Many have a disproportionate impact on smaller companies. GDPR for example, and the early versions of VATMOSS in terms of things I have dealt with.
Also, non EU laws such as the UK's Online Safety Act.
Not just in technology. It is also true of UK licensing laws for pubs - an example my attention was drawn to by comments made by the SEO of a big pub company as giving it an advantage.
On the other hand the EU's DMA and a lot of competition regulation gets that right.