If you and the clothes your wearing are clean when you ride in, the sweat has no bacteria to mix with and create the smell. If your wearing bike clothes several days before washing it will create smell, if your not showering in the morning same thing.
Clean bike clothes, shower before you leave, change clothes at work, use wipes and deoderant, ride in to work at a slower pace.