This is not HDFC Bank directly investing in these banks.
This approval is for HDFC AMC and HDFC Life for investments.
HDFC Bank is the parent company of AMC and Life Insurance hence it sought RBI approval.