I'm surprised you think the ending is impossible to guess because I thought it was obvious from the very beginning. The moment the Ballerina was introduced, the unnatural way she was walking made me realize they were all toys. Instantly got Tin Soldier vibes.