A lack of entropy sources on some kinds of hardware is a real problem, and buggy attempts to work around it have resulted in defective, easily factorable keys being used in the wild on equipment like Juniper SRX gateways:
https://factorable.net/weakkeys12.extended.pdf