As I understand it: Building a kernel which works on your machine is a perfectly reasonable project for a motivated developer to take on, even without "AI"-assistance.
Building a kernel which works on practically every machine is near impossible, but once Linus Torvalds humbly asked "who wants to play?"... Enough people did that before long we wound up with something remarkably close!