You can play against your amiibo digital character and training with it. They learn from your moves and become very dificult to fight on later levels.
Your amiibo will store that data so you can take it to a friends house.
But they don't unlock charactes, when you buy the character you automatically get it wen you start your game. There is no extra fight or necessary input to obtain what you just paid for.