Kyoto station is a great example of this. It's enormous inside, with a hotel on the top, event facilities, and a ton of retail all over.
https://www.kyotostation.com/kyoto-station-building-faciliti...
In my travels through Japan and Taiwan, rail stops are almost always hubs of economic activity of all sorts. It's a selling point when searching for accommodations while planning trips. Easy access to food and shopping. Taiwan night markets in cities, for example, are almost always near major rail station of some kind (light, metro, train). No need to go very far to get from one point of interest to another.
It's actually a bad example - there is barely anything around Kyoto station except a few hotels and some shopping malls. The main shopping/entertainment area and almost all tourist attractions are north of it, requiring connection by bus or subway.
The areas around major stations in basically any other city are far more developed. Look at Osaka-Umeda for example. I don't know if that's due to the historical buildings or the relative lack of good railway within the city itself (Kyoto is mostly a hub to get between other lines)