Unfortunately, this is very much the exception. In general railway operators are extremely hostile to sharing any of the (usually very accurate) internal data they have about train movements, and perfer to stick with simple "Your train will arrive in x minutes" predictions. This sometimes gets a bit absurd:
In Germany the unions are officially against any open data sharing, for some reason(I think it's to do with making it easier for passengers to get cheaper tickets).
In Britain the freight train companies argue that information about their trains should stay secret because there is no public interest in it, and it is a competitive disadvantage if their competitors know where trains they run go.
This data exists in many cities. It's what powers the "Next train/bus in xx minutes" signs. But somehow it doesn't make its way into live view applications. At least not in any of the cities in which I've lived.
I'm sure it's complicated for the map companies because America is a big place and can't be covered by one simple rail or bus company. There are hundreds of public and private transit companies in America. But it would be nice if it would start appearing in some cities.
Heck, even Amtrak would be nice to see on Apple Maps, instead of having to use Amtrak's own live train viewer: https://www.amtrak.com/track-your-train.html
Are there any transit agencies with live train/bus views integrated into Apple or Google maps, and I've just lived in the wrong cities?