A company based in Cardiff has been fined for safety failings during a property development.