Take is more for getting something into one's possession. As in "I'm gonna take a picture." "I'll take a bottle of water."
Undertake generally means to commit oneself to something, to take responsibility. "Some builders undertook the construction work."