Please check if the ODBC and OLE DB drivers exist, if so, uninstall them and uninstall the failed sql server installation, then reinstall sql server as administrator.
This is also a possible reason for failure if you installed SSMS first.
You can refer to this similar thread: https://learn.microsoft.com/en-us/answers/questions/1083390/sql-server-2019-installation-failed-with-206805231.
If the answer is helpful, please click Accept Answer
and Up-Vote
for the same. If you have any questions, please feel free to let me know.
Best regards,
Aniya