A metallurgist in the US state of Washington has pleaded guilty to fraud after she spent decades faking the results of strength tests on steel that was being used to make Navy submarines.