A former Ford employee has pleaded guilty in a US federal court to two counts of theft of trade secrets.