Apple's patent lets iPhone configure airbags