Two companies that provide equipment and services to the Long Island Rail Road and other train systems are planning expansions in Suffolk County, officials said Thursday.