Yep - both links are legitimate Microsoft URLs. The https://aka.ms domain is Microsoft's official URL shortening service, used to redirect users to Microsoft-hosted resources. The specific link https://aka.ms/vs/17/release/vc_redist.x64.exe is the standard Microsoft redirect for downloading the latest supported Visual C++ Redistributable.
It is not unusual for security products to occasionally flag the root https://aka.ms URL with a false positive because URL shortening services can obscure the final destination. In your case, the direct download link redirected to the official Microsoft installer, and the fact that Malwarebytes, Microsoft Defender (including Offline Scan), and VirusTotal did not detect the downloaded executable strongly indicates that the installer is legitimate.
If you want additional confirmation, you can right-click vc_redist.x64.exe, select Properties > Digital Signatures, and verify that it is signed by Microsoft Corporation with a valid signature. You can also compare the file's SHA-256 hash with the value published by Microsoft when available.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin