Three aged care homes in Sydney will close within weeks, with hundreds of residents forced to find a new place to live.