Toyota is investing $ 394 million in Joby Aviation, an American start-up that wants to make flying taxis.