BYD overtakes Tesla on Fortune’s Global 500 as once-dominant U.S. companies feel heat from foreign rivals