German sportswear maker Puma AG is to take over the Dutch bodywear and socks company Dobotex after buying the remaining stake in the firm.