Witnesses testified that the company that operated an experimental deep-water submersible that imploded, killing five people, put profits over safety and ignored warning signs before the disaster.