Employees from Amazon buildings across Yorkshire have taken part in a relay to raise £14,000 for charity.