A Perth builder and its nominated supervisor have been fined $25,000 over defective work that caused a roof to detach and collapsed on to the neighbouring house.