Two building companies have been fined after a man was seriously injured when a structure that allows water to flow under roads collapsed on him.