Toyota is investing $394 million in the electric air taxi company Joby Aviation. The automaker is set to share its expertise in the development of air transportation.