SwiftUI is something entirely different and not trying to be cross-platform at all.
I don’t think CLI and GUI applications are the only software people write. Swift is a great backend language.