Tomatoes, ubiquitous in everything from fast-food burgers to haute cuisine, are taking on a new role beyond the plate: A nagging reminder of rising costs.