Software is now eating the rail industry