It’s not unusual for Japanese companies to have shrines on the company’s grounds. I guess this one is on the roof because there’s not enough space anywhere else.
Limited spaces and high populations make life tough for musicians in Japan. It’s expensive and difficult to find places to play and practice, so people have to go to places like this giant bicycle parking lot near Osaka castle.