A company has been fined £16,000 after a trainee scaffolder died in a five-metre fall from a partially erected scaffold.