Let's start the induction with $n=2$. In that case, we have just two symbols, and $p_1+p_2=1$. Now the text assumes that all $p$ are powers of $2$, which is only possible if $p_1=p_2=\frac12$. Then the Huffman coding assigns to each symbol one bit, therefore each symbols is encoded exactly with one bits. On the other hand, the Shannon entropy is (assuming that $\log\equiv\log_2$) $\frac12\log 2+\frac12\log 2=1$. So for $n=2$ we have proven the claim.
Now assume we have proven it for up to $n-1$. Let's without loss of generality assume that the probabilities are labelled in descending order. The Huffman encoding in the first step combines the two least probable symbols, which therefore get the same length symbol, which is by 1 bit longer than a combined probability symbol would get in the $n-1$-symbol Huffman coding where all other symbols remain the same, with the same probabilities. However, the probabilities are, from the assumption, powers of two, that is, in binary they have the form $0.0\dots01$, and they have to add up to $1$. Now if the lowest two probabilities would not be equal, and the lowest probability is $p_n=2^{-k}$, the resulting sum would have an $1$ in the $k^{\text{th}}$ digit, but the binary representation has a $0$ here. Thus we conclude that for the lowest two probabilities $p_{n-1}=p_n$. But then, if we denote the number of bits for symbol $k$ by $b_k$, and define $p'_k$ to be the probability distribution when combining the two lowest probability symbols into one, $$p'_k=\cases{p_k & for $k<n-1$\\p_{n-1}+p_n = 2p_{n-1} & for $k=n-1$}\quad,$$ abd with $b'_k$ the corresponding Huffman bit lengths, we have as average number of bits per symbol
$$\begin{aligned}
\langle b\rangle_n
&= \sum_{k=1}^n p_k b_k\\
&= \sum_{k=1}^{n-2}p_k b_k + p_{n-1}b_{n-1}+p_n b_n\\
&= \sum_{k=1}^{n-2}p'_k + b'_k p'_{n-1}(b'_{n-1}+1)\\
&= \langle b\rangle_{n-1} + p'_{n-1}\\
\text{(induction assumption)}\quad &=\sum_{k=1}^{n-1} p'_k\log\frac{1}{p'_k} + p'_{n-1}\\
&= \sum_{k=1}^{n-2} p'_k\log\frac{1}{p'_k} + p'_{n-1}\left(1 + \log\frac{1}{p'_{n-1}}\right)\\
&= \sum_{k=1}^{n-2} p_k\log\frac{1}{p_k} + (p_{n-1}+p_n)\left(\log 2 + \log\frac{1}{p'_{n-1}}\right)\\
&= \sum_{k=1}^{n-2} p_k\log\frac{1}{p_k} + p_{n-1}\log\frac{2}{p'_{n-1}} + p_n\log\frac{2}{p'_{n-1}}\\
&= \sum_{k=1}^{n-2} p_k\log\frac{1}{p_k} + p_{n-1}\log\frac{1}{p_{n-1}} + p_n\log\frac{1}{p_n}\\
&= \sum_{k=1}^{n} p_k\log\frac{1}{p_k}
\end{aligned}$$
Note that by using the induction assumption, I have implicitly used the fact that $p'_{n-1}=2p_n=2^{-(k-1)}$ is also a power of two, because otherwise it couldn't have been applied.