The tech executive criticized the president’s legislation in a series of posts on Tuesday, signaling a widening rift with Republicans.