Martini is to sponsor a Formula One team next season.