Barack Obama has proposed outlawing offshore tax-avoidance techniques in a move that could hit US corporations with overseas divisions.