In industrial use, the more recent VFDs seem to last "about" as long as the motors they run, in my fairly limited experience.
Where I work, we would "expect" around 5 years of continuous 24/365 operation from a standard motor and around 8 years from a premium motor. In most cases, we have premium motors installed and we run them until they get noisy and/or show high vibration readings using a portable vibration monitor.
Drives tend to be big-name units and are run until they fail: Siemens, Schneider, Emerson, etc.
20 years ago, we were changing out drives more than we were changing out motors and the drives seemed to be lasting about as long as we'd expect a standard motor to last (about 40,000 hours) or a little less.
We had reached the point where we seemed to be changing out similar numbers of drives and (mostly premium) motors a few years ago and we now seem to be changing out more motors than drives.
Many of the motors on some of our older plant are still on Star/Delta (Wye/Delta) starters. Typically these are Hazardous-Area motors that are too big for Direct-On-Line (across-line?) starting. We avoided using VFDs on these for many years because they tended to be much less reliable than Star/Delta. We are now finding that we get better reliability out of VFDs than we do out of the old-school Star/Delta starters.