This part of this Act shall apply to any railway company, and to any canal company, and to any railway and canal company.