TBF the British Monarchy would eat tomatoes on their pewter plates, because of the acidity the tomatoes would begin to dissolve the plates, Injecting various poisonous elements into them.
Also, tomatoes ARE poisonous as they are a nightshade and contain solanine. Same with potatoes. The modern concentration of solanine is negligible, though, so unless you have a sensitivity or allergy to nightshades you should be fine consuming large quantities.
Another fun fact: Since both potatoes and tomatoes are nightshades, you can graft them together and have a plant that produces both potatoes and tomatoes.