An engineering company in Worcestershire, has been fined more than £380,000 for safety failings.