Costco’s device trade-in program can give you up to $2,550 in store credit while helping the environment.