Why can't the dishwasher or phone generate that key though?
Because they want people to connect online.
I’ll assume they use this to “register” your product so they know when the warranty actually started.