The front car of the train , operated by West Japan Railway Company , plowed into the apartment building as two other cars left the tracks .