Eating tomatoes may lower the risk of prostate cancer, research suggests.