US President Joe Biden has used his inauguration address to pledge to rebuild American alliances across the globe.