Gareth Bale says he was made a scapegoat at Real Madrid and was surprised at the club's U-turn over his future.