Two roofing companies have been fined after a worker fell nine metres through a skylight onto concrete flooring below.