Germany scrapped a landmark frigate program following delays and expected cost overruns, sending shares in the country's top defense firm Rheinmetall RHMG.DE, which was supposed to get the contract, into a tailspin on Wednesday.