An employee has been jailed after being caught with £1 million worth of car parts he had stolen from his employer.