Court hears falling wall panels knocked worker from machine during demolition work