Keep in mind the Logic Boards on the Apple USB-C laptops are much more complex than older models. The Logic Board now includes the memory, SSD, WiFi all integrated onto the Logic Board along with the traditional CPU & GPU. On older models if the memory failed you could just replace a memory module. Same with the SSD. But now if any one of these has a problem, the whole Logic Board must be replaced.
Besides just the problem of integrating so many formerly independent components, the USB-C ports on the laptop are more complex as they must handle both power & data which are tied to the central bus of the Logic Board which ties it directly to the CPU, memory & SSD. This means if an external device has a problem it may damage the Logic Board. This has been especially common for people using cheap power adapters, but even cheap accessories & peripherals can be more likely to damage the Logic Board on these Apple USB-C laptops.
Even without these contributing factors I find the Logic Boards and these laptops in general to be very quirky even when everything seems to be in good condition. Even macOS has gotten very quirky as well. I know there will be a lot of people who say I'm crazy, but I've had a lot of experience supporting these laptops for our organization so I've seen & experienced things most users will be oblivious to. But once you start digging, these things stand out and in my opinion these are the worst designed Macs I've ever seen in 30 years.
However, having said all this, there will always be some hardware failures no matter how well a product is designed & manufactured. Surprisingly I have not seen a huge increase in Logic Board repairs for our organization's USB-C Apple laptops (there has been a bit of increase even when excluding liquid damage) although like I said it is hard to tell if the quirkiness observed is due to a hardware issue or if it is just a design flaw with these Logic Boards and/or system firmware.
You can always provide Apple with product feedback:
Product Feedback - Apple