Three companies have been fined a total of £90,000 after a worker was seriously injured when he fell nearly six metres from a platform with unguarded rails.