Spanish state-owned business Navantia is stepping in to buy the Belfast-based company.