Turkish PM says investment will rise, when terror ends