Not for sure where the claim of Windows machines lasting less than Apple products comes from. Before Windows 11, you could easily be running Windows 10 on a 10-15 year old computer.
I'm talking about the entire stack including drivers. Microsoft is left at the mercy of vendors here.
Additionally, I have yet to see a Windows laptop that doesn't develop cracks, broken hinges and whatnot after 2-3 years of use.