A £1bn investment will take place, despite a row with the owner of P&O Ferries, says the business secretary.