On the Siemens side, I think they typically promise a minimum of 10 years support and spare part availability from the day they announce that something will be mature or phased out. Theoretically, anything you buy now should be ok for 10+ years. Also, as ASF said, PLC's last for a long time. The CPU is probably the part of the PLC that will last the longest.
The S7 300 family (similar for the 400) has been around since the 90's, but the most recent models were released maybe 5 years ago, with Profinet onboard the CPU.
The newest family of PLC's is the 1500, which was introduced about 2-3 years ago. If you're planning to make the jump to Siemens, this is the platform I'd target. I'm a big fan of the symbolic programming (though you can still do address based if you really want), and the integrated display & HW diagnostics can simplify a lot of commissioning problems. The downside is the the programming software essentially requires a newish high end laptop to run smoothly, and there are a few functions from the 300 family that the 1500's don't support yet.