The License keys are directly embedded into the motherboard by Computer manufacturers. When it comes to Windows 8 Serial numbers are gone. In Windows 7 Laptop and Computer manufacturing company included OEM Licensing in which you will get Pre installed windows PC/Laptop.
Before the Windows 10, Microsoft's licensing was different.