Hetzner's hardware is custom built by the manufacturers, for example motherboards by asrock, they even get their own mainboard microcode from asrock. SSDs come from Micron, they have their own chassis etc.
They have a _huge_ testing lab with insane amounts of testing equipment. I never had any problems with their hardware at all. Networking was not that good years ago but is stellar now.