I had the injectors out of my car the other day. They are Bosch & the date code places them in the year the car was manufactured, 1998. It has covered in excess of 125000 miles. I have a crude test rig where I can clack the solenoid & pump pressurised IPA across the workshop, out of the door & down the courtyard, checking the spray pattern on its way past me.
IPA is isopropyl alcohol, not Indian pale ale. IPA flushed the injectors out, Indian PA might not be as effective.
So I would say yes petrol injectors last as long as diesel, providing the quality is there at the outset, even allowing for the electrical component.
I have a blue set, Bosch again, & the spray pattern is completely different. These are from a later MG tf.
M