Anne Hathaway has vowed to "do better" after failing to recognise how her portrayal of a disability in The Witches reboot could be hurtful for children with limb differences.