A Cheshire building company has been sentenced for safety failings at a building site in Altrincham where they were building residential houses and apartments.