Realistically, there is only one safe and legal scenario: you already bought a machine, it stopped working because of a manufacturing fault, and the manufacturer agrees to replace it under warranty.
Anything advertised as a "free computer" outside of that arrangement deserves a healthy amount of suspicion.