Andhra Pradesh weans away Rs 9,700 cr investments