The problem with Electron is not that people choose it over native tech like WPF or SwiftUI, they choose it over nothing. Without Electron tons of cross platform apps simply wouldn’t exist.
I think macOS suffers the most since it is not that hard to port an iOS app to Mac, and Linux benefits the most.