There are multiple references in online postings about how the Model S (starting in June 2018) key fobs were upgraded to use the newer technology used in the Model X key fobs, with stronger protection. I don't recall Tesla sending us anything official warning us that our 2017 S 100D has this risk or that our 2018 X 100D doesn't.
If in doubt, recommend you call Tesla - and ask them if your vehicle has the security risk, and if you're concerned about it, and don't want to use the PIN to Drive feature, how much it would cost to purchase new key fobs without the security risk.
Tesla purchased the key fob technology from a 3rd party, who was using relatively old technology, exposing Model S owners to this risk. It appears Tesla chose a newer key fob implementation for the X, which doesn't have this vulnerability.
Tesla wasn't alone though, there are other manufacturers who have also used the same key fob technology, and unlike Tesla, they probably can't do a software update to add a feature like PIN to Drive.
NOTE that for almost all owners, this vulnerability isn't a significant risk. It requires someone being within close proximity (about 3 feet) to get a reading on the key fob so they can clone it. And they would have to have the gear needed to do the cloning.
Our Model S is at risk - and will likely only enable the PIN to Drive feature if we leave the car parked somewhere for an extended period, but even then, unless someone has gotten with a close distance of one of the key fobs - they can't break into the car by this hack.