A lemon is also a defective car that is found to have numerous or severe defects which you did not see before you bought the car. Any vehicle with these issues can be called a 'lemon,' and by extension, any product which has major flaws that render it unfit for its purpose can be described as a 'lemon'.
Almost everybody knows the meaning of a lemon: a citrus fruit.