US President Joe Biden will attend the inauguration of Donald Trump in January, the White House said, despite the fact that the Republican skipped the Democrat's own swearing-in four years ago.