President Donald Trump has saluted as US troops marched in a Bastille Day parade in Paris commemorating the 100th anniversary of the American entry into the First World War.