Agreement to put $160mn into manufacturing and innovation comes after Jakarta rejected $1bn offer from US tech giant