There are also plans to bring the Apple TV app to Smart TV platforms as well, so a similar framework may be on the way for TV too.
(If they get there first, this has a side benefit of preventing Windows, Linux and Chrome OS from doing the same thing as easily.)
But seriously: app store revenue is a rounding error. It's more likely that Apple perceives web apps as a threat to their bottom line the same way they view ripped MP3s as a threat to their iTunes revenue.
“Apple’s apps economy: Bigger than Hollywood”
https://fortune.com/2015/01/22/apples-apps-economy-bigger-th...
$14b (app store napkin estimate), out of $265b (2018), is ~5%.
So, your "rounding error" is in reality 17.5% of Apple's entire revenue. It's "only" twice bigger than the entire Mac portion of Apple's business which is $25 billion [3]
[1] https://www.cultofmac.com/601492/app-store-google-play-reven...
[2] https://www.statista.com/statistics/265125/total-net-sales-o...
I would be surprised if Apple isn't working on SwiftUI for web themselves. They have web versions of all of their major apps already – Photos, Numbers, Keynote, etc. I'm sure they'd prefer to not have a completely separate implementation for those. SwiftUI currently supports all the platforms those apps... except the web.
Also it makes a ton of sense to have an Apple-supported way of writing web backends in Swift... after all, they have a lot of those too.
I don't know if they'd support Windows and Linux because they could just support web instead and that would be good enough. Maybe Android is worth it though? The main reason is I'd imagine they might want to unify the codebase of Apple Music and Apple TV apps, but I'm sure they'd worry about bringing too many good apps to their competitor's OSes. That's probably too scary so they'll probably prefer to just build two apps like they already do.
Also, this reminds me, is there any way to listen to Apple Music or watch Apple TV on Windows, Linux, or Chrome OS? I don't think so. I'd have to imagine that's in the works.