German chipmaker buys US rival's automotive unit for $2.7B