A Tunisian man is on trial in France on terrorism charges over the killing of three people in a basilica in the French Riviera city of Nice in 2020.