I've had way more failures with carbs than efi.
I've had EFI run for 20 years with zero issues, on a single vehicle. Zero maintenance, not even sensor replacement.
One current vehicle is from 1985 and the EFI still works flawlessly... A 1985 EFI.
Once EFI transitioned from analog to digital, lots of little gremlins just went away. They became a lot more consistent and robust.
I've owned early analog EFI... Whew, talk about a persnickety system.