My experience is that gifting has very little impact on AI relations and is next to worthless and might even lead them to think you're weak. Without fail I've always got a positive reputation bounce from giving if asked though, as if the AI is simply testing your hostility levels. They wont ever demand every tech, just one every now and then, which makes little difference if you're 10 techs ahead.