An ambitious plan for as many as 30,000 new homes over 15 years across some of Sydney’s busiest suburbs has passed by a single vote, despite stiff opposition from the Greens and social activists.