Australia fails with automatic World Cup qualification despite win