An electropolishing company based in Hampshire has been fined after a worker suffered chemical burns.